Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • FileSystemExtImpl

Implements

Index

Constructors

Properties

_capabilities: Map<string, number> = ...
_fsProvider: Map<number, FileSystemProvider> = ...
_handlePool: number = 0
_linkProvider: FsLinkProvider = ...
_usedSchemes: Set<string> = ...
_watches: Map<number, Disposable> = ...
fileSystem: FileSystem
onWillRegisterFileSystemProvider: Event<FsLinkProvider> = ...
onWillRegisterFileSystemProviderEmitter: Emitter<FsLinkProvider> = ...

Methods

  • $acceptProviderInfos(scheme: string, capabilities?: FileSystemProviderCapabilities): void
  • $close(handle: number, fd: number): Promise<void>
  • $copy(handle: number, oldUri: UriComponents, newUri: UriComponents, opts: FileOverwriteOptions): Promise<void>
  • $delete(handle: number, resource: UriComponents, opts: FileDeleteOptions): Promise<void>
  • $mkdir(handle: number, resource: UriComponents): Promise<void>
  • $open(handle: number, resource: UriComponents, opts: FileOpenOptions): Promise<number>
  • $read(handle: number, fd: number, pos: number, length: number): Promise<BinaryBuffer>
  • $readFile(handle: number, resource: UriComponents): Promise<BinaryBuffer>
  • $readdir(handle: number, resource: UriComponents): Promise<[string, FileType][]>
  • $rename(handle: number, oldUri: UriComponents, newUri: UriComponents, opts: FileOverwriteOptions): Promise<void>
  • $stat(handle: number, resource: UriComponents): Promise<Stat>
  • $unwatch(_handle: number, session: number): void
  • $watch(handle: number, session: number, resource: UriComponents, opts: WatchOptions): void
  • $write(handle: number, fd: number, pos: number, data: BinaryBuffer): Promise<number>
  • $writeFile(handle: number, resource: UriComponents, content: BinaryBuffer, opts: FileWriteOptions): Promise<void>
  • _getFsProvider(handle: number): FileSystemProvider
  • dispose(): void
  • registerFileSystemProvider(scheme: string, provider: FileSystemProvider, options?: { isCaseSensitive?: boolean; isReadonly?: boolean }): { dispose: (() => void) }
  • Parameters

    • scheme: string
    • provider: FileSystemProvider
    • options: { isCaseSensitive?: boolean; isReadonly?: boolean } = {}
      • Optional isCaseSensitive?: boolean
      • Optional isReadonly?: boolean

    Returns { dispose: (() => void) }

    • dispose: (() => void)
        • (): void
        • Returns void

  • _asIStat(stat: FileStat): Stat