Skip to main content

Interface: CacheSettings

Defined in: CSpellSettingsDef.ts:346

Properties

cacheFormat?

optional cacheFormat: CacheFormat

Defined in: CSpellSettingsDef.ts:376

Format of the cache file.

  • legacy - use absolute paths in the cache file
  • universal - use a sharable format.

Default

'universal'

cacheLocation?

optional cacheLocation: string

Defined in: CSpellSettingsDef.ts:362

Path to the cache location. Can be a file or a directory. If none specified .cspellcache will be used. Relative paths are relative to the config file in which it is defined.

A prefix of ${cwd} is replaced with the current working directory.


cacheStrategy?

optional cacheStrategy: CacheStrategy

Defined in: CSpellSettingsDef.ts:368

Strategy to use for detecting changed files, default: metadata

Default

'metadata'

useCache?

optional useCache: boolean

Defined in: CSpellSettingsDef.ts:351

Store the results of processed files in order to only operate on the changed ones.

Default

false