pub fn verify(dir: &Path) -> Result<(), String>Expand description
Checks every file of the index in dir against the sha256 in its manifest,
reading each file in full. Meant to run once before an index is attached;
open and every read check their own parts on top of this.