MCPcopy Create free account
hub / github.com/Effect-TS/effect / removeWorktree

Function removeWorktree

packages/effect/typeperf/compare.mjs:248–253  ·  view source on GitHub ↗
(path)

Source from the content-addressed store, hash-verified

246}
247
248const removeWorktree = (path) => {
249 const result = run("git", ["worktree", "remove", "--force", path], { cwd: repoRoot })
250 if (result.status !== 0) {
251 process.stderr.write(`${result.stdout ?? ""}${result.stderr ?? ""}`)
252 }
253}
254
255const main = () => {
256 const baseSha = resolveRef(baseRef)

Callers 3

WorktreesClass · 0.85
createWorktreeFunction · 0.85
mainFunction · 0.85

Calls 2

runFunction · 0.70
writeMethod · 0.65

Tested by

no test coverage detected