Class DelegatingFileSystemProvider

Implements

Constructors

Properties

onDidChangeFile: Event<readonly FileChange[]> = ...
onDidChangeFileEmitter: Emitter<readonly FileChange[]> = ...
onFileWatchError: Event<void> = ...
onFileWatchErrorEmitter: Emitter<void> = ...
toDispose: DisposableCollection = ...

Accessors

Methods

  • Converts from an underlying fs provider resource format.

    For example converting file resources under a user home to user-storage resource:

    • file://home/.theia/settings.json => user-storage:/user/settings.json
    • file://documents/some-document.txt => undefined

    Parameters

    • resource: URI

    Returns undefined | URI

  • Converts to an underlying fs provider resource format.

    For example converting user-storage resources to file resources under a user home: user-storage:/user/settings.json => file://home/.theia/settings.json

    Parameters

    • resource: URI

    Returns URI