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

Function run_one

scripts/memwaste-padding.py:83–87  ·  view source on GitHub ↗
(job: tuple[str, list[str], str])

Source from the content-addressed store, hash-verified

81
82
83def run_one(job: tuple[str, list[str], str]) -> tuple[str, str]:
84 compiler, flags, source = job
85 res = subprocess.run([compiler, "-fsyntax-only", "-Wno-everything", "-Wpadded"] + flags + [source],
86 cwd=ROOT, capture_output=True, text=True, check=False)
87 return source, res.stderr
88
89
90def is_vendored(path: str) -> bool:

Callers

nothing calls this directly

Calls 1

runMethod · 0.45

Tested by

no test coverage detected