UNPKG

cspell-gitignore

Version:
8 lines 350 B
import { type VFileSystem } from 'cspell-io'; /** * Find the git repository root directory. * @param directory - directory to search up from. * @returns resolves to `.git` root or undefined */ export declare function findRepoRoot(directory: string | URL, vfs?: VFileSystem): Promise<string | undefined>; //# sourceMappingURL=findRepoRoot.d.ts.map