Skip to main content

Interface: CSpellVFSFileEntry

Defined in: packages/cspell-types/dist/index.d.mts:23

An entry in the CSpell Virtual File System. It may or may not have a URL.

Since​

9.7.0

Extended by​

Properties​

data​

data: CSpellVFSData

Defined in: packages/cspell-types/dist/index.d.mts:31

The content data of the file.


encoding?​

optional encoding?: "plaintext" | "base64" | "utf8"

Defined in: packages/cspell-types/dist/index.d.mts:35

The encoding of the data. In most cases the encoding is determined from the data type and filename url.


url?​

optional url?: string

Defined in: packages/cspell-types/dist/index.d.mts:27

The optional file vfs url. It is already part of the CSpellVFS key.