artifactize-core 0.27.0

The library behind artifactize: Artifacts, evals, reviews, the monitor and review models, and the shared operations every interface calls.
Documentation
1
2
3
4
5
6
7
use super::{RequestView, RunView, Saved, states};

pub fn derivation_count(run: &RunView, requests: &[RequestView]) -> usize {
    states::States::new(&Saved { run, requests })
        .derivations
        .get()
}