UNPKG

checksync

Version:

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

12 lines (11 loc) 478 B
import { ILog } from "./types"; /** * Create a function that codifies a given ignore file. * * @param gitIgnorePath The path to the ignore file. * @returns A function that 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: (gitIgnorePath: string, log: ILog) => Promise<(f: string) => boolean | undefined>; export default _default;