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

Function computeBaseRepoPath

src/node/runtime/SSHRuntime.ts:363–365  ·  view source on GitHub ↗
(srcBaseDir: string, projectPath: string)

Source from the content-addressed store, hash-verified

361 * `SSHRuntime.getBaseRepoPath()` method instead.
362 */
363export function computeBaseRepoPath(srcBaseDir: string, projectPath: string): string {
364 return buildRemoteProjectLayout(srcBaseDir, projectPath).baseRepoPath;
365}
366
367/**
368 * Run `git show-ref --heads` against a local project and return the raw stdout

Callers 1

runtime.test.tsFile · 0.90

Calls 1

buildRemoteProjectLayoutFunction · 0.90

Tested by

no test coverage detected