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

Function getWorktreeBaseDir

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

* Get the base directory for worktrees (cross-platform)

()

Source from the content-addressed store, hash-verified

339 * Get the base directory for worktrees (cross-platform)
340 */
341function getWorktreeBaseDir(): string {
342 return path.join(os.homedir(), ".openade", "workspaces", "worktrees")
343}
344
345/**
346 * Get worktree path from ID

Callers 4

getWorktreePathFunction · 0.85
parseWorktreeListFunction · 0.85
handleListWorkTreesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected