cspell-gitignore
Version:
Gitignore Glob matcher for cspell
8 lines • 350 B
TypeScript
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