Skip to main content

Interface: CSpellVFSFileEntry

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

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:32

The content data of the file.


encoding?

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

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

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:28

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