Interface: VFileSystemProvider
Defined in: packages/cspell-io/dist/index.d.ts:477
Extends
Partial<DisposableEx>
Properties
[dispose]?
optional[dispose]?: () =>void
Defined in: node_modules/.pnpm/@types+node@22.20.1/node_modules/@types/node/compatibility/disposable.d.ts:9
Returns
void
Inherited from
Partial.[dispose]
dispose?
optionaldispose?: () =>void
Defined in: packages/cspell-io/dist/index.d.ts:175
Returns
void
Inherited from
Partial.dispose
name
name:
string
Defined in: packages/cspell-io/dist/index.d.ts:479
Name of the Provider
Methods
getFileSystem()
getFileSystem(
url,next):VProviderFileSystem|undefined
Defined in: packages/cspell-io/dist/index.d.ts:485
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