Skip to main content

load

Function load 

Source
pub fn load(
    rows: &[CheckpointRow],
) -> Result<Option<Checkpoint>, CheckpointError>
Expand description

The newest checkpoint in rows (a run’s rows, oldest step first): the first is whole and each next one a diff from it. An empty list is Ok(None); a list that does not start whole, skips a step, or has a row that is unreadable is an error, never a guess.