Skip to main content

read_events

Function read_events 

Source
pub fn read_events(
    dir: &Path,
    from_ms: u64,
    to_ms: u64,
    limit: usize,
) -> (usize, Vec<Value>)
Expand description

The events of the months that overlap from_ms to to_ms taken in that window, newest limit in time order, and how many the window holds. Each is the line as written: t, kind and numbers.