Skip to main content

check

Function check 

Source
pub fn check(path: &Path, key: &[u8; 32], hash: &str) -> Result<(), Fault>
Expand description

The sealed file at path opens whole to the content hash, checked as get checks it, nothing written: a copy fetched is kept only so (remote::fetch_wanted).