checksync
Version:
A tool that allows code to be annotated across different files to ensure they remain in sync.
13 lines (12 loc) • 508 B
TypeScript
import { ExitCode } from "./exit-codes";
import { ILog, MarkerCache, Options } from "./types";
/**
* Write the cache to the output file or to the console.
*
* @param options The options for this run.
* @param cache The cache to write.
* @param log A logger for outputting errors and the like.
* @returns The promise of an error code.
* @throws ExitError if the cache file cannot be written.
*/
export declare const outputCache: (options: Options, cache: MarkerCache, log: ILog) => Promise<ExitCode>;