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

Method getGitExecOptions

src/node/worktree/WorktreeManager.ts:44–47  ·  view source on GitHub ↗
(trusted?: boolean, signal?: AbortSignal)

Source from the content-addressed store, hash-verified

42 }
43
44 private getGitExecOptions(trusted?: boolean, signal?: AbortSignal): GitExecOptions {
45 const env = trusted ? undefined : GIT_NO_HOOKS_ENV;
46 return env || signal ? { ...(env ? { env } : {}), ...(signal ? { signal } : {}) } : undefined;
47 }
48
49 private async pruneWorktreesBestEffort(
50 projectPath: string,

Callers 5

createWorkspaceMethod · 0.95
renameWorkspaceMethod · 0.95
deleteWorkspaceMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected