Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The second argument, entry_type, restricts deletion to specific types. If it is FS_ENTRY_TYPE_DIR, then the entry specified by the first argument must be a directory; if it is a file, an error will be returned. If it is FS_ENTRY_TYPE_FILE, then the entry mustbe a file. If it is FS_ENTRY_TYPE_ANY, then the entry will be deleted whether it is a file or a directory.