An abstract interface representing entries in a file system, each of which may be a FileEntrySync or DirectoryEntrySync.
The file system on which the entry resides.
The full absolute path from the root to the entry.
EntrySync is a directory.
EntrySync is a file.
The name of the entry, excluding the path leading to it.
Copy an entry to a different location on the file system. It is an error to try to:
Look up metadata about this entry.
Look up the parent DirectoryEntrySync containing this Entry. If this EntrySync is the root of its filesystem, its parent is itself.
Move an entry to a different location on the file system. It is an error to try to:
The directory to which to move the entry.
The new name of the entry. Defaults to the EntrySync's current name if unspecified.
Deletes a file or directory. It is an error to attempt to delete a directory that is not empty. It is an error to attempt to delete the root directory of a filesystem.
Returns a URL that can be used to identify this entry. Unlike the URN defined in [FILE-API-ED], it has no specific expiration; as it describes a location on disk, it should be valid at least as long as that location exists.
string