Protected
Optional
Internal
_disableWhether the sync cache should be disabled. Only affects async things.
Readonly
optionsReadonly
portCreate the file at path
with mode
. Then, open it with flag
.
Get metadata about the current file system
Opens the file at path
with flag
. The file must exist.
The path to open.
The flag to use when opening the file.
Protected
rpcRest
...args: Parameters<ExtractProperties<FileSystem, ((...args: any[]) => Promise<any> | FileSystemMetadata)>[T]>
PortFS lets you access an FS instance that is running in a port, or the other way around.
Note that direct synchronous operations are not permitted on the PortFS, regardless of the configuration option of the remote FS.