Current section

Files

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

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

import type { FileResult } from '../../util/fileHelper.js';
export interface CSpellLintResultCache {
/**
* Retrieve cached lint results for a given file name, if present in the cache.
*/
getCachedLintResults(filename: string): Promise<FileResult | undefined>;
/**
* Set the cached lint results.
*/
setCachedLintResults(result: FileResult, dependsUponFiles: string[]): void;
/**
* Persists the in-memory cache to disk.
*/
reconcile(): void;
/**
* Resets the cache.
*/
reset(): void;
}
//# sourceMappingURL=CSpellLintResultCache.d.ts.map