MCPcopy Create free account
hub / github.com/bearlyai/OpenADE / getWorktreePath

Function getWorktreePath

projects/electron/src/modules/code/git.ts:348–350  ·  view source on GitHub ↗

* Get worktree path from ID

(id: string)

Source from the content-addressed store, hash-verified

346 * Get worktree path from ID
347 */
348function getWorktreePath(id: string): string {
349 return path.join(getWorktreeBaseDir(), id)
350}
351
352/**
353 * Validate repository directory

Callers 7

handleWorkTreeDiffPatchFunction · 0.85
handleGetMergeBaseFunction · 0.85
handleListFilesFunction · 0.85
handleDeleteWorkTreeFunction · 0.85
handleCommitWorkTreeFunction · 0.85

Calls 1

getWorktreeBaseDirFunction · 0.85

Tested by

no test coverage detected