Skip to main content

trim_window

Function trim_window 

Source
fn trim_window(
    r: &SnapshotReader<'_>,
    zone: &str,
    window: Vec<(i64, String)>,
    tail_turns: Option<u32>,
    want: i64,
) -> Result<(Vec<(i64, String)>, Option<Vec<i64>>), StoreError>
Expand description

window trimmed by the rules blockfile:read_range uses (tail_turns, then tail_bytes), with its receive-time stamps.