Skip to main content

Interface: VFileSystemProvider

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

Extends

  • Partial<DisposableEx>

Properties

[dispose]()?

optional [dispose]: () => void

Defined in: node_modules/.pnpm/@types+node@20.19.33/node_modules/@types/node/compatibility/disposable.d.ts:11

Returns

void

Inherited from

Partial.[dispose]


dispose()?

optional dispose: () => void

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

Returns

void

Inherited from

Partial.dispose


name

name: string

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

Name of the Provider

Methods

getFileSystem()

getFileSystem(url, next): VProviderFileSystem | undefined

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

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

VProviderFileSystem | undefined