()
| 74 | } |
| 75 | |
| 76 | function getMainCheckoutRoot() { |
| 77 | const mainWorktree = tryGit(['worktree', 'list', '--porcelain']) |
| 78 | ?.split('\n') |
| 79 | .find((line) => line.startsWith('worktree ')); |
| 80 | |
| 81 | return mainWorktree ? mainWorktree.slice('worktree '.length) : null; |
| 82 | } |
| 83 | |
| 84 | function isIgnored(entry, cwd) { |
| 85 | try { |
no test coverage detected