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

Function gh_api

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

Source from the content-addressed store, hash-verified

76
77
78def gh_api(path):
79 r = subprocess.run(["gh", "api", path], capture_output=True, text=True)
80 if r.returncode != 0:
81 return None
82 return r.stdout
83
84
85def upstream_default_license(repo):

Callers 2

upstream_default_licenseFunction · 0.85
upstream_fileFunction · 0.85

Calls 1

runMethod · 0.45

Tested by

no test coverage detected