Misc tools for dealing with repositories of multiple version control systems
- git
- mercurial
- sapling
- subversion
Given a path inside a repository, find the path of the root
Example:
findRootSync("/my-git-repo/some/subdirectory"); // => "/my-git-repo"
Example:
await findRoot("/my-git-repo/some/subdirectory"); // => "/my-git-repo"