Skip to main content

integrity

Function integrity 

Source
pub fn integrity(workspace: &Utf8Path, snapshot: &Snapshot) -> Result<Integrity>
Expand description

Read the file snapshot names under workspace against its checksum.

ยงErrors

A read that fails for any reason but an absent file, so a snapshot that may still be whole is never mistaken for a damaged one.