Skip to main content

Interface: VFileSystemProvider

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

Extends

  • Partial<Disposable>

Properties

dispose()?

optional dispose: () => void

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

Returns

void

Inherited from

dispose.__type


name

name: string

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

Name of the Provider

Methods

getFileSystem()

getFileSystem(url, next): undefined | VProviderFileSystem

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

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