Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/agentforce314/clawcodex
/ _run_git_ok
Function
_run_git_ok
src/utils/git.py:37–39 ·
view source on GitHub ↗
(args: list[str], cwd: str | None = None)
Source
from the content-addressed store, hash-verified
35
36
37
def
_run_git_ok(args: list[str], cwd: str | None = None) -> str:
38
stdout, _, rc = _run_git(args, cwd)
39
return
stdout
if
rc == 0
else
""
40
41
42
@dataclass
Callers
8
test_run_git_ok
Method · 0.90
get_repo_root
Function · 0.85
get_current_branch
Function · 0.85
get_default_branch
Function · 0.85
get_session_diff
Function · 0.85
get_diff_against_branch
Function · 0.85
get_commit_attribution
Function · 0.85
list_worktrees
Function · 0.85
Calls
1
_run_git
Function · 0.70
Tested by
1
test_run_git_ok
Method · 0.72