@altano/repository-tools
Version:
Misc tools for dealing with repositories of multiple version control systems (git, svn, etc)
10 lines • 333 B
TypeScript
//#region src/findRootSync.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 findRootSync(directory: string): string | null;
//#endregion
export { findRootSync };
//# sourceMappingURL=findRootSync.d.ts.map