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

Function isIgnored

scripts/copy-worktree-files.js:84–91  ·  view source on GitHub ↗
(entry, cwd)

Source from the content-addressed store, hash-verified

82}
83
84function isIgnored(entry, cwd) {
85 try {
86 execGit(['check-ignore', '-q', '--', entry], cwd);
87 return true;
88 } catch (error) {
89 return false;
90 }
91}
92
93function tryGit(args) {
94 try {

Callers 1

copyWorktreeFilesFunction · 0.70

Calls 1

execGitFunction · 0.70

Tested by

no test coverage detected