Methods
$copy
- $copy(resource: UriComponents, target: UriComponents, opts: FileOverwriteOptions): Promise<void>
Parameters
resource: UriComponents
target: UriComponents
opts: FileOverwriteOptions
Returns Promise<void>
$delete
- $delete(resource: UriComponents, opts: FileDeleteOptions): Promise<void>
Parameters
resource: UriComponents
opts: FileDeleteOptions
Returns Promise<void>
$mkdir
- $mkdir(resource: UriComponents): Promise<void>
Parameters
Returns Promise<void>
$readFile
- $readFile(resource: UriComponents): Promise<BinaryBuffer>
Parameters
Returns Promise<BinaryBuffer>
$readdir
- $readdir(resource: UriComponents): Promise<[string, FileType][]>
Parameters
Returns Promise<[string, FileType][]>
$registerFileSystemProvider
- $registerFileSystemProvider(handle: number, scheme: string, capabilities: FileSystemProviderCapabilities): void
Parameters
handle: number
scheme: string
capabilities: FileSystemProviderCapabilities
Returns void
$rename
- $rename(resource: UriComponents, target: UriComponents, opts: FileOverwriteOptions): Promise<void>
Parameters
resource: UriComponents
target: UriComponents
opts: FileOverwriteOptions
Returns Promise<void>
$stat
- $stat(uri: UriComponents): Promise<Stat>
Parameters
Returns Promise<Stat>
$unregisterProvider
- $unregisterProvider(handle: number): void
$writeFile
- $writeFile(resource: UriComponents, content: BinaryBuffer): Promise<void>
Parameters
resource: UriComponents
content: BinaryBuffer
Returns Promise<void>