MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / gh_api

Function gh_api

scripts/audit-license-provenance.py:59–63  ·  view source on GitHub ↗
(path)

Source from the content-addressed store, hash-verified

57
58
59def gh_api(path):
60 r = subprocess.run(["gh", "api", path], capture_output=True, text=True)
61 if r.returncode != 0:
62 return None
63 return r.stdout
64
65
66def upstream_default_license(repo):

Callers 2

upstream_default_licenseFunction · 0.85
upstream_fileFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected