Readonly
capabilitiesThe FileSystemProviderCapabilities for this provider.
Readonly
onReadonly
onEvent that is fired if a (watched) file in the filesystem of this provider has changed.
Readonly
onEvent that is fired if an error occurred when watching files in the filesystem of this provider.
Optional
accessOptional function that has to be implemented by FileSystemProviderWithAccessCapability. See FileSystemProviderWithAccessCapability#access for additional documentation.
Optional
mode: numberOptional
copyOptional function that has to be implemented by FileSystemProviderWithFileFolderCopyCapability. See FileSystemProviderWithFileFolderCopyCapability#copy} for additional documentation.
Delete the given resource.
The URI
of the resource to delete.
Options to define if files should be deleted recursively and if the trash should be used.
Optional
fsOptional function that has to be implemented by FileSystemProviderWithAccessCapability. See FileSystemProviderWithAccessCapability#fsPath for additional documentation.
Open the give file.
The URI
of the file to open.
Options to define if the file should be created if it does not exist yet.
A promise of the file descriptor that resolves after the file is open.
Read specified content from a given file descriptor into a data buffer.
The file descriptor referencing the file to read from.
The offset from the beginning of the file from which data should be read.
The buffer that the data will be written to.
The offset in the buffer at which to start writing.
The number of bytes to read.
A promise of the number of bytes read.
Optional
readOptional function that has to be implemented by FileSystemProviderWithFileReadWriteCapability. See FileSystemProviderWithFileReadWriteCapability#readFile for additional documentation.
Optional
readOptional function that has to be implemented by FileSystemProviderWithFileReadStreamCapability. See FileSystemProviderWithFileReadStreamCapability#readFileStream for additional documentation.
Rename a file or folder.
URI
of the existing file or folder.
URI
of the target location.
Options to define if existing files should be overwritten.
Optional
updateOptional function that has to be implemented by FileSystemProviderWithUpdateCapability. See FileSystemProviderWithUpdateCapability#updateFile for additional documentation.
Watch the given resource and react to changes by firing the FileSystemProvider#onDidChangeFile event.
URI
of the resource to be watched.
Options to define if the resource should be watched recursively and to provide a set of resources that should be excluded from watching.
A Disposable
that can be invoked to stop watching the resource.
Write specified content from the data buffer to the file referenced by the given file descriptor.
The file descriptor referencing the file to write to.
The offset from the beginning of the file where this data should be written.
The part of the buffer to be read from.
The number of bytes to write.
A promise of the number of bytes written.
Optional
writeOptional function that has to be implemented by FileSystemProviderWithFileReadWriteCapability. See FileSystemProviderWithFileReadWriteCapability#writeFile for additional documentation.
Subtype of FileSystemProvider that ensures that the optional functions, needed for providers that should be able to open,read, write or close files, are implemented.