Protected
_Protected
Readonly
encodingReadonly
on#region File Capabilities
Readonly
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.
Protected
Readonly
toProtected
Readonly
watcherThe FileSystemProviderCapabilities for this provider.
Optional function that has to be implemented by FileSystemProviderWithAccessCapability. See FileSystemProviderWithAccessCapability#access for additional documentation.
Optional
mode: numberOptional function that has to be implemented by FileSystemProviderWithOpenReadWriteCloseCapability. See FileSystemProviderWithOpenReadWriteCloseCapability#close for additional documentation.
Optional 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.
#endregion
Protected
doProtected
doProtected
doOptional function that has to be implemented by FileSystemProviderWithAccessCapability. See FileSystemProviderWithAccessCapability#fsPath for additional documentation.
Protected
initProtected
mkdirpOptional
mode: numberProtected
moveOptional function that has to be implemented by FileSystemProviderWithOpenReadWriteCloseCapability. See FileSystemProviderWithOpenReadWriteCloseCapability#open for additional documentation.
Optional function that has to be implemented by FileSystemProviderWithOpenReadWriteCloseCapability. See FileSystemProviderWithOpenReadWriteCloseCapability#read for additional documentation.
Optional 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.
Protected
rimrafProtected
rimrafProtected
rimrafProtected
statProtected
to#endregion
Optional function that has to be implemented by FileSystemProviderWithOpenReadWriteCloseCapability. See FileSystemProviderWithOpenReadWriteCloseCapability#write for additional documentation.
Write data to a file, replacing its entire contents.
The uri of the file.
The new content of the file.
Options to define if the file should be created if missing and if an existing file should be overwritten.
Subtype of FileSystemProvider that ensures that the optional functions, needed for providers that should be able to read & write files, are implemented.