MCPcopy Create free account
hub / github.com/dailydotdev/apps / tryGit

Function tryGit

scripts/copy-worktree-files.js:93–99  ·  view source on GitHub ↗
(args)

Source from the content-addressed store, hash-verified

91}
92
93function tryGit(args) {
94 try {
95 return execGit(args);
96 } catch (error) {
97 return null;
98 }
99}
100
101function execGit(args, cwd = process.cwd()) {
102 return execFileSync('git', args, {

Callers 2

copyWorktreeFilesFunction · 0.85
getMainCheckoutRootFunction · 0.85

Calls 1

execGitFunction · 0.70

Tested by

no test coverage detected