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
Readonly
filesystem
Readonly
fullPath
fullPath: string
Readonly
isDirectory
isDirectory: boolean
Readonly
isFile
isFile: boolean
Readonly
name
name: string
Methods
createReader
- createReader(): FileSystemDirectoryReader
Returns FileSystemDirectoryReader
getDirectory
- getDirectory(
path?: string,
options?: FileSystemFlags,
successCallback?: FileSystemEntryCallback,
errorCallback?: ErrorCallback,
): void Parameters
Optional
path: stringOptional
options: FileSystemFlagsOptional
successCallback: FileSystemEntryCallbackOptional
errorCallback: ErrorCallback
Returns void
getFile
- getFile(
path?: string,
options?: FileSystemFlags,
successCallback?: FileSystemEntryCallback,
errorCallback?: ErrorCallback,
): void Parameters
Optional
path: stringOptional
options: FileSystemFlagsOptional
successCallback: FileSystemEntryCallbackOptional
errorCallback: ErrorCallback
Returns void
getParent
- getParent(
successCallback?: FileSystemEntryCallback,
errorCallback?: ErrorCallback,
): void Parameters
Optional
successCallback: FileSystemEntryCallbackOptional
errorCallback: ErrorCallback
Returns void
MDN Reference