UNPKG

cspell

Version:

A Spelling Checker for Code!

20 lines 607 B
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