Skip to main content

latest_checkpoint_id

Function latest_checkpoint_id 

Source
pub fn latest_checkpoint_id(dir: &Path) -> Option<SnapshotId>
Expand description

Scan dir for <end_offset>-<epoch>.checkpoint artifacts and return the highest (end_offset, epoch) id, or None when the directory is absent or holds no checkpoint.