FileSystemEntry Class
A file or a directory of a FileSystem (https://wicg.github.io/entries-api/#api-entry).
public abstract class FileSystemEntryProperties
| Name | Description |
|---|---|
| Filesystem | Gets the file system of the entry. |
| FullPath | Gets the full path of the entry: / followed by the names of its path, e.g. /photos/a.jpg. |
| IsDirectory | Gets whether the entry is a directory. |
| IsFile | Gets whether the entry is a file. |
| Name | Gets the name of the entry (the empty string for the root directory). |
Filesystem
FileSystemEntry.csGets the file system of the entry.
public FileSystem Filesystem { get; }FullPath
FileSystemEntry.csGets the full path of the entry: / followed by the names of its path, e.g. /photos/a.jpg.
public string FullPath { get; }IsDirectory
FileSystemEntry.csGets whether the entry is a directory.
public bool IsDirectory { get; }IsFile
Gets whether the entry is a file.
public abstract bool IsFile { get; }Gets the name of the entry (the empty string for the root directory).
public string Name { get; }Methods
| Name | Description |
|---|---|
| GetParent(FileSystemEntryCallback?, ErrorCallback?) | Calls successCallback (from a task) with the parent directory of the entry, the root directory for the root directory. |
GetParent(FileSystemEntryCallback?, ErrorCallback?)
FileSystemEntry.csCalls successCallback (from a task) with the parent directory of the entry, the root directory for the root directory.
public void GetParent(FileSystemEntryCallback? successCallback = null, ErrorCallback? errorCallback = null)