MCPcopy Create free account
hub / github.com/agent-tower/core / constructor

Method constructor

packages/server/src/git/git-cli.ts:44–50  ·  view source on GitHub ↗
(worktreePath: string)

Source from the content-addressed store, hash-verified

42 super(
43 `Worktree not found at '${worktreePath}'`,
44 'WORKTREE_NOT_FOUND'
45 );
46 this.name = 'WorktreeNotFoundError';
47 }
48}
49
50export class WorktreeDirtyError extends GitError {
51 constructor(worktreePath: string) {
52 super(
53 `Worktree at '${worktreePath}' has uncommitted changes`,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected