interface FileSystemMain {
    $copy(resource, target, opts): Promise<void>;
    $delete(resource, opts): Promise<void>;
    $mkdir(resource): Promise<void>;
    $onFileSystemChange(handle, resource): void;
    $readFile(resource): Promise<BinaryBuffer>;
    $readdir(resource): Promise<[string, FileType][]>;
    $registerFileSystemProvider(handle, scheme, capabilities, readonlyMessage?): void;
    $rename(resource, target, opts): Promise<void>;
    $stat(uri): Promise<Stat>;
    $unregisterProvider(handle): void;
    $writeFile(resource, content): Promise<void>;
}

Implemented by

Methods

  • Parameters

    • handle: number
    • scheme: string
    • capabilities: FileSystemProviderCapabilities
    • Optional readonlyMessage: MarkdownString

    Returns void