Create a new directory (Note, that new files are created via write
-calls).
Note that missing directories are created automatically, e.g this call has
mkdirp
semantics.
The uri of the new folder.
Delete a file.
The resource that is to be deleted.
Defines if trash can should be used and if deletion of folders is recursive
Read the entire contents of a file.
The uri of the file.
An array of bytes or a thenable that resolves to such.
Write data to a file, replacing its entire contents.
The uri of the file.
The new content of the file.
The file system interface exposes the editor's built-in and contributed file system providers. It allows extensions to work with files from the local disk as well as files from remote places, like the remote extension host or ftp-servers.
Note that an instance of this interface is available as
workspace.fs
.