MCPcopy Index your code
hub / github.com/CodeClash-ai/CodeClash / is_git_repo_dirty

Function is_git_repo_dirty

codeclash/utils/git_utils.py:9–11  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

7
8
9def is_git_repo_dirty() -> bool:
10 result = subprocess.run(["git", "status", "--porcelain"], capture_output=True, text=True, check=True)
11 return bool(result.stdout.strip())
12
13
14def has_unpushed_commits() -> bool:

Callers

nothing calls this directly

Calls 1

runMethod · 0.45

Tested by

no test coverage detected