Interface RemoteFileSystemServer

interface RemoteFileSystemServer {
    access(resource, mode?): Promise<void>;
    close(fd): Promise<void>;
    copy(source, target, opts): Promise<void>;
    delete(resource, opts): Promise<void>;
    fsPath(resource): Promise<string>;
    getCapabilities(): Promise<FileSystemProviderCapabilities>;
    getReadOnlyMessage(): Promise<undefined | MarkdownString>;
    mkdir(resource): Promise<void>;
    open(resource, opts): Promise<number>;
    read(fd, pos, length): Promise<{
        bytes: Uint8Array;
        bytesRead: number;
    }>;
    readFile(resource): Promise<Uint8Array>;
    readFileStream(resource, opts, token): Promise<number>;
    readdir(resource): Promise<[string, FileType][]>;
    rename(source, target, opts): Promise<void>;
    stat(resource): Promise<Stat>;
    unwatch(watcher): Promise<void>;
    updateFile(resource, changes, opts): Promise<FileUpdateResult>;
    watch(watcher, resource, opts): Promise<void>;
    write(fd, pos, data, offset, length): Promise<number>;
    writeFile(resource, content, opts): Promise<void>;
}

Hierarchy

Implemented by

Methods