Skip to main content

usable

Function usable 

Source
fn usable(dir: &Path, e: &ExpertLayout, l: &Layout, records: usize) -> bool
Expand description

Whether a usable store of this layout is already on disk. The manifest is only a claim, so a few records are re-packed and compared byte for byte: that is what catches a store written by an older packing, which would otherwise be read as noise by the kernel.