UNPKG

@altano/repository-tools

Version:

Misc tools for dealing with repositories of multiple version control systems (git, svn, etc)

10 lines 326 B
//#region src/findRoot.d.ts /** * Find the root path of the repository containing the given directory. * * @returns null if not found or the path of the repository root as a string */ declare function findRoot(directory: string): Promise<string | null>; //#endregion export { findRoot }; //# sourceMappingURL=findRoot.d.ts.map