Interface FileSystemDirectoryEntry
interface FileSystemDirectoryEntry {
filesystem: FileSystem;
fullPath: string;
isDirectory: boolean;
isFile: boolean;
name: string;
createReader(): FileSystemDirectoryReader;
getDirectory(
path?: string,
options?: FileSystemFlags,
successCallback?: FileSystemEntryCallback,
errorCallback?: ErrorCallback,
): void;
getFile(
path?: string,
options?: FileSystemFlags,
successCallback?: FileSystemEntryCallback,
errorCallback?: ErrorCallback,
): void;
getParent(
successCallback?: FileSystemEntryCallback,
errorCallback?: ErrorCallback,
): void;
}
filesystem: FileSystem;
fullPath: string;
isDirectory: boolean;
isFile: boolean;
name: string;
createReader(): FileSystemDirectoryReader;
getDirectory(
path?: string,
options?: FileSystemFlags,
successCallback?: FileSystemEntryCallback,
errorCallback?: ErrorCallback,
): void;
getFile(
path?: string,
options?: FileSystemFlags,
successCallback?: FileSystemEntryCallback,
errorCallback?: ErrorCallback,
): void;
getParent(
successCallback?: FileSystemEntryCallback,
errorCallback?: ErrorCallback,
): void;
}
Hierarchy
- FileSystemEntry
- FileSystemDirectoryEntry (View Summary)
Index
Properties
Methods
Properties
Readonlyfilesystem
ReadonlyfullPath
fullPath: string
ReadonlyisDirectory
isDirectory: boolean
ReadonlyisFile
isFile: boolean
Readonlyname
name: string
Methods
createReader
- createReader(): FileSystemDirectoryReader
Returns FileSystemDirectoryReader
getDirectory
- getDirectory(
path?: string,
options?: FileSystemFlags,
successCallback?: FileSystemEntryCallback,
errorCallback?: ErrorCallback,
): void Parameters
Optionalpath: stringOptionaloptions: FileSystemFlagsOptionalsuccessCallback: FileSystemEntryCallbackOptionalerrorCallback: ErrorCallback
Returns void
getFile
- getFile(
path?: string,
options?: FileSystemFlags,
successCallback?: FileSystemEntryCallback,
errorCallback?: ErrorCallback,
): void Parameters
Optionalpath: stringOptionaloptions: FileSystemFlagsOptionalsuccessCallback: FileSystemEntryCallbackOptionalerrorCallback: ErrorCallback
Returns void
getParent
- getParent(
successCallback?: FileSystemEntryCallback,
errorCallback?: ErrorCallback,
): void Parameters
OptionalsuccessCallback: FileSystemEntryCallbackOptionalerrorCallback: ErrorCallback
Returns void
MDN Reference