Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ZipFSProvider

Hierarchy

  • ZipFSProvider

Implements

  • FileSystemProvider

Properties

Private _emitter

_emitter: EventEmitter<FileChangeEvent[]> = new vscode.EventEmitter<Array<vscode.FileChangeEvent>>()

Private fs

fs: PosixFS = new PosixFS(new VirtualFS({baseFs: new ZipOpenFS({libzip: getLibzipSync(),useCache: true,maxOpenFiles: 80,}),}),)

onDidChangeFile

onDidChangeFile: Event<FileChangeEvent[]> = this._emitter.event

Methods

createDirectory

  • createDirectory(uri: Uri): void

delete

  • delete(uri: Uri, options: object): void

readDirectory

  • readDirectory(uri: Uri): Array<[]>

readFile

  • readFile(uri: Uri): Uint8Array

rename

  • rename(oldUri: Uri, newUri: Uri, options: object): void

stat

  • stat(uri: Uri): FileStat

watch

  • watch(resource: Uri, opts: any): Disposable

writeFile

  • writeFile(uri: Uri, content: Uint8Array, options: object): void

Generated using TypeDoc