Skip to main content

Interface: VFileSystemProvider

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

Extends​

  • Partial<DisposableEx>

Properties​

[dispose]?​

optional [dispose]?: () => void

Defined in: node_modules/.pnpm/@types+node@22.20.5/node_modules/@types/node/compatibility/disposable.d.ts:9

Returns​

void

Inherited from​

Partial.[dispose]


dispose?​

optional dispose?: () => void

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

Returns​

void

Inherited from​

Partial.dispose


name​

name: string

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

Name of the Provider

Methods​

getFileSystem()​

getFileSystem(url, next): VProviderFileSystem | undefined

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

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