MCPcopy Create free account
hub / github.com/LadybugDB/ladybug / remove_worktree

Function remove_worktree

scripts/export-import-test.py:12–14  ·  view source on GitHub ↗
(path, repo_root)

Source from the content-addressed store, hash-verified

10
11
12def remove_worktree(path, repo_root):
13 if os.path.exists(path):
14 run_command(f"git worktree remove --force {path}", cwd=repo_root, check=False)
15
16
17def check_for_extension_build(makefile):

Callers 2

create_worktreeFunction · 0.85
mainFunction · 0.85

Calls 1

run_commandFunction · 0.85

Tested by

no test coverage detected