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

Method getOriginUrlForSync

src/node/runtime/SSHRuntime.ts:2455–2460  ·  view source on GitHub ↗

Get origin URL from local project for setting on the remote base repo.

(
    projectPath: string,
    initLogger: InitLogger
  )

Source from the content-addressed store, hash-verified

2453
2454 /** Get origin URL from local project for setting on the remote base repo. */
2455 private async getOriginUrlForSync(
2456 projectPath: string,
2457 initLogger: InitLogger
2458 ): Promise<{ originUrl: string | null }> {
2459 return getOriginUrlForBundle(projectPath, initLogger, /* logErrors */ false);
2460 }
2461
2462 /**
2463 * Implements the async `Runtime.createWorkspace` contract. After the

Callers 3

refreshBaseRepoOriginMethod · 0.95
tryWarmWorktreeAddMethod · 0.95

Calls 1

getOriginUrlForBundleFunction · 0.90

Tested by

no test coverage detected