Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface RemoteFileSystemServer

Hierarchy

Index

Methods

  • access(resource: string, mode?: number): Promise<void>
  • close(fd: number): Promise<void>
  • fsPath(resource: string): Promise<string>
  • mkdir(resource: string): Promise<void>
  • read(fd: number, pos: number, length: number): Promise<{ bytes: Uint8Array; bytesRead: number }>
  • readFile(resource: string): Promise<Uint8Array>
  • readdir(resource: string): Promise<[string, FileType][]>
  • stat(resource: string): Promise<Stat>
  • unwatch(watcher: number): Promise<void>
  • watch(watcher: number, resource: string, opts: WatchOptions): Promise<void>
  • write(fd: number, pos: number, data: Uint8Array, offset: number, length: number): Promise<number>
  • writeFile(resource: string, content: Uint8Array, opts: FileWriteOptions): Promise<void>