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

Method constructor

packages/server/src/routes/git.ts:8–11  ·  view source on GitHub ↗
(public readonly workingDir: string)

Source from the content-addressed store, hash-verified

6import * as path from 'node:path';
7import { resolveWorkspaceGitTarget } from '../git/workspace-git-target.js';
8import { discoverRepository } from '../git/state/git-repository-files.js';
9import { getWorkspaceGitDiff, getWorkspaceGitState } from '../git/state/git-state-facade.js';
10import { toGitChangesResponse } from '../git/state/git-state-views.js';
11
12class GitUnavailableError extends Error {
13 constructor(public readonly workingDir: string) {
14 super(`Git is not available for workingDir: ${workingDir}`);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected