Current section

Files

Jump to
spellweaver priv bun node_modules cspell dist esm util cache CacheOptions.d.ts
Raw

priv/bun/node_modules/cspell/dist/esm/util/cache/CacheOptions.d.ts

import type { CacheFormat, CacheStrategy } from '@cspell/cspell-types';
export interface CacheOptions {
/**
* The version of `cspell` that made the cache entry.
* Cache entries must match the `major.minor` version.
*/
version: string;
/**
* Store the info about processed files in order to only operate on the changed ones.
*/
cache?: boolean;
/**
* Path to the cache location. Can be a file or a directory.
* If none specified .cspellcache will be used.
* The file will be created in the directory where the cspell command is executed.
*/
cacheLocation?: string;
/**
* Strategy to use for detecting changed files, default: metadata
*/
cacheStrategy?: CacheStrategy;
/**
* Resets the cache
*/
cacheReset?: boolean;
/**
* Format of the cache file.
* - `legacy` - use absolute paths in the cache file
* - `universal` - use a sharable format.
* @default 'legacy'
*/
cacheFormat?: CacheFormat;
}
//# sourceMappingURL=CacheOptions.d.ts.map