0.0.3 • Published 15 days ago

@altano/repository-tools v0.0.3

Weekly downloads
-
License
ISC
Repository
github
Last release
15 days ago

repository-tools

Misc tools for dealing with repositories of multiple version control systems

Supported Version Control Systems

  • git
  • mercurial
  • sapling
  • subversion

Tools

findRootSync

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"
0.0.3

15 days ago

0.0.2

1 month ago