checksync
Version:
A tool that allows code to be annotated across different files to ensure they remain in sync.
11 lines (10 loc) • 391 B
TypeScript
import { ILog, MarkerCache } from "./types";
/**
* Load a marker cache from a file.
*
* @param filepath The path to the cache file.
* @param log A logger for outputting errors and the like.
* @returns A promise of a marker cache.
* @throws ExitError if the cache file cannot be read or parsed.
*/
export declare const loadCache: (filepath: string, log: ILog) => Promise<MarkerCache>;