The FileSystemProviderCapabilities for this provider.
Event that is fired if the capabilities of this provider have changed.
Event that is fired if a (watched) file in the filesystem of this provider has changed.
Event that is fired if an error occurred when watching files in the filesystem of this provider.
Optional function that has to be implemented by FileSystemProviderWithAccessCapability. See {@link FileSystemProviderWithAccessCapability#access} for additional documentation.
Close the file with the given file descriptor.
the file descriptor to close.
Optional function that has to be implemented by FileSystemProviderWithFileFolderCopyCapability. See {@link 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 function that has to be implemented by FileSystemProviderWithAccessCapability. See {@link FileSystemProviderWithAccessCapability#fsPath} for additional documentation.
Create a new directory using the given resource uri.
The URI
of the new folder.
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 function that has to be implemented by FileSystemProviderWithFileReadWriteCapability. See {@link FileSystemProviderWithFileReadWriteCapability#readFile} for additional documentation.
Optional function that has to be implemented by FileSystemProviderWithFileReadStreamCapability. See {@link 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.
Retrieve metadata about a given file.
A promise of the metadata about the resource.
Optional function that has to be implemented by FileSystemProviderWithUpdateCapability. See {@link FileSystemProviderWithUpdateCapability#updateFile} for additional documentation.
Watch the given resource and react to changes by firing the {@link 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 function that has to be implemented by FileSystemProviderWithFileReadWriteCapability. See {@link 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.