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

Function handleDeleteBranch

projects/electron/src/modules/code/git.ts:1308–1311  ·  view source on GitHub ↗
(params: DeleteBranchParams)

Source from the content-addressed store, hash-verified

1306}
1307
1308async function handleDeleteBranch(params: DeleteBranchParams): Promise<void> {
1309 const { repoRoot } = await resolveGitInfo(params.repoDir)
1310 await execGit(["branch", "-D", params.branchName], repoRoot)
1311}
1312
1313/**
1314 * List all worktrees (supports subdirectories)

Callers 1

deleteRuntimeBranchFunction · 0.85

Calls 2

resolveGitInfoFunction · 0.85
execGitFunction · 0.85

Tested by

no test coverage detected