Skip to main content

usage_between

Function usage_between 

Source
pub fn usage_between(
    home: &Path,
    roots: &[String],
    others: &[String],
    now: DateTime<Utc>,
    from: DateTime<Utc>,
    to: DateTime<Utc>,
) -> BTreeMap<String, HostCounts>
Expand description

Per model, what the session files under roots recorded from the minute of from up to the minute of to (both included), from files touched in the last WINDOW_DAYS. A session under a deeper root of others (another project nested inside) belongs to that one only.