Skip to main content

restore_offset_index_entry_valid

Function restore_offset_index_entry_valid 

Source
pub fn restore_offset_index_entry_valid(
    previous: Option<OffsetEntry>,
    relative_offset: u32,
    position: u32,
    max_relative: i64,
    log_bytes: u64,
) -> bool
Expand description

Validate one decoded offset-index entry against its predecessor and the verified log extent.