MCPcopy Index your code
hub / github.com/coder/mux / getBaseRepoPath

Method getBaseRepoPath

src/node/runtime/SSHRuntime.ts:1206–1208  ·  view source on GitHub ↗

* Path to the shared bare repo for a project on the remote. * All worktree-based workspaces share this object store.

(projectPath: string)

Source from the content-addressed store, hash-verified

1204 * All worktree-based workspaces share this object store.
1205 */
1206 private getBaseRepoPath(projectPath: string): string {
1207 return this.getProjectLayout(projectPath).baseRepoPath;
1208 }
1209
1210 /**
1211 * Ensure the shared bare repo exists on the remote for a project.

Callers 3

forkWorkspaceMethod · 0.95

Calls 1

getProjectLayoutMethod · 0.95

Tested by

no test coverage detected