smartgit/ts/smartgit.helpers.ts

7 lines
200 B
TypeScript

import * as plugins from "./smartgit.plugins";
export let isGitDirectory = (dirPathArg):boolean => {
return plugins.smartfile.fs.isDirectory(
plugins.path.join(dirPathArg,".git")
);
}