MCPcopy Create free account
hub / github.com/coder/mux / getProjectSyncKey

Method getProjectSyncKey

src/node/runtime/SSHRuntime.ts:586–594  ·  view source on GitHub ↗
(projectId: string)

Source from the content-addressed store, hash-verified

584 }
585
586 private getProjectSyncKey(projectId: string): string {
587 return [
588 this.config.host,
589 this.config.port?.toString() ?? "22",
590 this.config.identityFile ?? "default",
591 this.config.srcBaseDir,
592 projectId,
593 ].join(":");
594 }
595
596 private isRetryableProjectSyncError(errorMsg: string): boolean {
597 return PROJECT_SYNC_RETRYABLE_ERRORS.some((pattern) => errorMsg.includes(pattern));

Callers 1

syncProjectToRemoteMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected