Skip to main content

fingerprint

Function fingerprint 

Source
pub fn fingerprint(
    files: &SessionFiles,
) -> Result<Vec<(String, u64, [u8; 32])>, String>
Expand description

What every file of the session holds right now, in order: its name inside the session, its size and its SHA-256. A copy of a session is the same session when its fingerprint is equal (the container path compares the staged copy with what the container holds before it removes anything there). A link or a special file is an error.