MCPcopy Create free account
hub / github.com/acking-you/static_flow / is_cross_cutting

Function is_cross_cutting

scripts/ci_affected.py:160–165  ·  view source on GitHub ↗
(f)

Source from the content-addressed store, hash-verified

158 return None
159 res = run(["git", "diff", "--name-only", f"{base}...{head}"])
160 if res.returncode != 0:
161 res = run(["git", "diff", "--name-only", base, head])
162 if res.returncode != 0:
163 return None
164 return [f for f in res.stdout.splitlines() if f.strip()]
165
166
167def is_non_rust_dep_path(f):
168 return any(f == p or f.startswith(p + "/") for p in NON_RUST_DEPS_PREFIX)

Callers 1

detectFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected