Skip to main content

checksum

Function checksum 

Source
pub fn checksum(storage: &dyn Storage) -> Result<String>
Expand description

A hash of a package’s files (declared_files; sha256: and hex): it names this exact text, for caches, lock files, and checking downloads. Files a reader added beside them don’t change it

  • Each file’s path and length go in before its bytes, so moving bytes between files changes it