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
closeOptional function that has to be implemented by FileSystemProviderWithOpenReadWriteCloseCapability. See FileSystemProviderWithOpenReadWriteCloseCapability#close for additional documentation.
Optional
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.
Optional
openOptional function that has to be implemented by FileSystemProviderWithOpenReadWriteCloseCapability. See FileSystemProviderWithOpenReadWriteCloseCapability#open for additional documentation.
Optional
readOptional function that has to be implemented by FileSystemProviderWithOpenReadWriteCloseCapability. See FileSystemProviderWithOpenReadWriteCloseCapability#read for additional documentation.
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.
Update the content of the given (text) file according to the given text document changes.
URI
of the resource to update.
Array of events describing the changes to the file.
The encoding options.
A promise of the file metadata that resolves after the update process has completed.
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.
Optional
writeOptional function that has to be implemented by FileSystemProviderWithOpenReadWriteCloseCapability. See FileSystemProviderWithOpenReadWriteCloseCapability#write for additional documentation.
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 update (text) files, are implemented.