(worktreePath: string)
| 33 | const PROTECTED_BRANCHES = ["main", "master", "develop", "production", "staging"]; |
| 34 | |
| 35 | function invalidateGitStateCaches(worktreePath: string): void { |
| 36 | gitCache.invalidateStatus(worktreePath); |
| 37 | gitCache.invalidateParsedDiff(worktreePath); |
| 38 | gitCache.invalidateAllFileContents(worktreePath); |
| 39 | } |
| 40 | |
| 41 | export const createGitOperationsRouter = () => { |
| 42 | return router({ |
no test coverage detected