MCPcopy Create free account
hub / github.com/comnik/declarative-dataflow / dependencies

Function dependencies

tests/query_test.rs:24–34  ·  view source on GitHub ↗
(case: &Case)

Source from the content-addressed store, hash-verified

22}
23
24fn dependencies(case: &Case) -> HashSet<Aid> {
25 let mut deps = HashSet::new();
26
27 for binding in case.plan.into_bindings().iter() {
28 if let Binding::Attribute(binding) = binding {
29 deps.insert(binding.source_attribute.clone());
30 }
31 }
32
33 deps
34}
35
36fn run_cases(mut cases: Vec<Case>) {
37 for case in cases.drain(..) {

Callers 1

run_casesFunction · 0.70

Calls 1

into_bindingsMethod · 0.45

Tested by

no test coverage detected