Interface: VirtualFS
Defined in: packages/cspell-io/dist/index.d.ts:372
Extends
Disposable
Properties
fs
readonly
fs:Required
<VFileSystem
>
Defined in: packages/cspell-io/dist/index.d.ts:381
The file system. All requests will first use getFileSystem to get the file system before making the request.
fsc
readonly
fsc:Required
<VFileSystemCore
>
Defined in: packages/cspell-io/dist/index.d.ts:385
The file system core. All requests will first use getFileSystem to get the file system before making the request.
loggingEnabled
loggingEnabled:
boolean
Defined in: packages/cspell-io/dist/index.d.ts:393
Indicates that logging has been enabled.
Methods
dispose()
dispose():
void
Defined in: packages/cspell-io/dist/index.d.ts:160
Returns
void
Inherited from
Disposable.dispose
enableLogging()
enableLogging(
value
?):void
Defined in: packages/cspell-io/dist/index.d.ts:394
Parameters
value?
boolean
Returns
void
getFS()
getFS(
url
):VFileSystem
Defined in: packages/cspell-io/dist/index.d.ts:377
Get the fs for a given url.
Parameters
url
URL
Returns
VFileSystem
registerFileSystemProvider()
registerFileSystemProvider(
provider
, ...providers
):Disposable
Defined in: packages/cspell-io/dist/index.d.ts:373
Parameters
provider
providers
...VFileSystemProvider
[]
Returns
Disposable
reset()
reset():
void
Defined in: packages/cspell-io/dist/index.d.ts:389
Clear the cache of file systems.
Returns
void