Skip to main content

visit_run_archive

Function visit_run_archive 

Source
pub fn visit_run_archive(
    run_id: &str,
    visit: &mut dyn FnMut(PointRef<'_>) -> ControlFlow<()>,
) -> Option<()>
Expand description

Stream a run’s archive through a visit_points visitor without ever materializing the journal: one buffered pass over run.lvr, one record and one running window in memory. Returns None if the archive is missing or its preamble is invalid; a torn tail (a live run mid-append) just ends the walk with the points already visited.