Skip to main content

Interface: CSpellVFSFile

Defined in: cspell-vfs.ts:41

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

Since​

9.7.0

Extends​

Properties​

data​

data: CSpellVFSData

Defined in: cspell-vfs.ts:33

The content data of the file.

Inherited from​

CSpellVFSFileEntry.data


encoding?​

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

Defined in: cspell-vfs.ts:38

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

Inherited from​

CSpellVFSFileEntry.encoding


url​

url: string

Defined in: cspell-vfs.ts:45

The file URL.

Overrides​

CSpellVFSFileEntry.url