Skip to content

RemoteFileSystem

Defined in: src/providers/RemoteFileSystem.ts:18

Minimal file-system surface shared by provider sessions.

list(path: string, options?: ListOptions): Promise<RemoteEntry[]>;

Defined in: src/providers/RemoteFileSystem.ts:20

Lists entries for a provider path.

ParameterType
pathstring
options?ListOptions

Promise<RemoteEntry[]>


optional mkdir(path: string, options?: MkdirOptions): Promise<void>;

Defined in: src/providers/RemoteFileSystem.ts:28

Creates a directory when supported by the provider.

ParameterType
pathstring
options?MkdirOptions

Promise<void>


optional remove(path: string, options?: RemoveOptions): Promise<void>;

Defined in: src/providers/RemoteFileSystem.ts:24

Removes a file entry when supported by the provider.

ParameterType
pathstring
options?RemoveOptions

Promise<void>


optional rename(
from: string,
to: string,
options?: RenameOptions): Promise<void>;

Defined in: src/providers/RemoteFileSystem.ts:26

Renames or moves an entry when supported by the provider.

ParameterType
fromstring
tostring
options?RenameOptions

Promise<void>


optional rmdir(path: string, options?: RmdirOptions): Promise<void>;

Defined in: src/providers/RemoteFileSystem.ts:30

Removes a directory when supported by the provider.

ParameterType
pathstring
options?RmdirOptions

Promise<void>


stat(path: string, options?: StatOptions): Promise<RemoteStat>;

Defined in: src/providers/RemoteFileSystem.ts:22

Reads metadata for a provider path.

ParameterType
pathstring
options?StatOptions

Promise<RemoteStat>