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

Function owning_crate

scripts/ci_affected.py:168–174  ·  view source on GitHub ↗
(f, dir2name)

Source from the content-addressed store, hash-verified

166
167def is_non_rust_dep_path(f):
168 return any(f == p or f.startswith(p + "/") for p in NON_RUST_DEPS_PREFIX)
169
170
171def is_cross_cutting(f):
172 if is_non_rust_dep_path(f):
173 return False
174 return (
175 f in CROSS_EXACT
176 or any(f.startswith(p) for p in CROSS_PREFIX)
177 or Path(f).name.startswith("rust-toolchain")

Callers 1

detectFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected