Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/agentforce314/clawcodex
/ Worktree
Class
Worktree
src/utils/git.py:83–88 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
81
82
@dataclass
83
class
Worktree:
84
path: str
85
branch: str | None = None
86
commit: str | None = None
87
is_bare: bool = False
88
is_main: bool = False
89
90
91
def
get_repo_root(cwd: str | None = None) -> str | None:
Callers
1
list_worktrees
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected