UNPKG

checksync

Version:

A tool that allows code to be annotated across different files to ensure they remain in sync.

12 lines (11 loc) 573 B
import { ILog } from "./types"; /** * Create a function for each ignore file that codifies the ignore file. * * @param ignoreFilePaths The paths to the ignore files. * @returns The functions that codify the ignore files. Each function takes a * file path and returns true if the file should be allowed, false if it should * be ignored, or undefined if the ignore file has no opinion about the file. */ declare const _default: (ignoreFilePaths: ReadonlyArray<string>, log: ILog) => Promise<ReadonlyArray<(f: string) => boolean | undefined>>; export default _default;