Skip to main content

Interface: VFileSystemProvider

Defined in: packages/cspell-io/dist/index.d.ts:447

Extends

  • Partial<Disposable>

Properties

dispose()?

optional dispose: () => void

Defined in: packages/cspell-io/dist/index.d.ts:179

Returns

void

Inherited from

Partial.dispose


name

name: string

Defined in: packages/cspell-io/dist/index.d.ts:449

Name of the Provider

Methods

getFileSystem()

getFileSystem(url, next): undefined | VProviderFileSystem

Defined in: packages/cspell-io/dist/index.d.ts:455

Get the file system for a given url. The provider is cached based upon the protocol and hostname.

Parameters

url

URL

the url to get the file system for.

next

NextProvider

call this function to get the next provider to try. This is useful for chaining providers that operate on the same protocol.

Returns

undefined | VProviderFileSystem