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

Function needs_graph

scripts/test-impact/predict.py:37–41  ·  view source on GitHub ↗

A C source change the graph can place (prod or test code).

(changed)

Source from the content-addressed store, hash-verified

35
36
37def needs_graph(changed):
38 """A C source change the graph can place (prod or test code)."""
39 return any(C_SOURCE.search(p) and (p.startswith(("src/", "tests/")) or (
40 p.startswith("internal/cbm/") and not p.startswith("internal/cbm/vendored/")))
41 for p in changed)
42
43
44def suitemap(root):

Callers 2

predictFunction · 0.85
mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected