smartgit/ts/smartgit.helpers.ts

7 lines
200 B
TypeScript
Raw Normal View History

2016-07-03 02:03:15 +00:00
import * as plugins from "./smartgit.plugins";
export let isGitDirectory = (dirPathArg):boolean => {
return plugins.smartfile.fs.isDirectory(
plugins.path.join(dirPathArg,".git")
);
}