MCPcopy Create free account
hub / github.com/SourceCode-AI/aura / check_git

Function check_git

aura/info.py:63–74  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

61
62
63def check_git() -> dict:
64 git_pth = shutil.which("git")
65 if git_pth:
66 return {
67 "enabled": True,
68 "description": "git client is present"
69 }
70 else:
71 return {
72 "enabled": False,
73 "description": "`git` client is not present, this is required for the `aura diff` functionality"
74 }
75
76
77def check_github_api() -> dict:

Callers 1

gather_aura_informationFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected