0.1.2 • Published 10 years ago
is-git-repo v0.1.2
is-git-repo
Check if a given directory is a git repository.
isGitRepo('/home/user/my-repo', function(git) {
console.log(git) // boolean
});
Supports both regular and bare repositories.
License
MIT
Check if a given directory is a git repository.
isGitRepo('/home/user/my-repo', function(git) {
console.log(git) // boolean
});
Supports both regular and bare repositories.
MIT