MCPcopy
hub / github.com/generalaction/emdash / openRepository

Method openRepository

packages/core/src/git/git-runtime.ts:157–161  ·  view source on GitHub ↗
(pathInsideRepo: string)

Source from the content-addressed store, hash-verified

155 }
156
157 async openRepository(pathInsideRepo: string): Promise<RepoLease> {
158 this.assertOpen();
159 const identity = await this.resolveIdentity(pathInsideRepo);
160 return this.acquireRepository(identity);
161 }
162
163 async openWorktree(worktreePath: string): Promise<WorktreeLease> {
164 this.assertOpen();

Callers

nothing calls this directly

Calls 3

assertOpenMethod · 0.95
resolveIdentityMethod · 0.95
acquireRepositoryMethod · 0.95

Tested by

no test coverage detected