Thanks to visit codestin.com
Credit goes to docs.rs

Skip to main content

snapshot_directory

Function snapshot_directory 

Source
pub fn snapshot_directory(dir: &Path) -> Result<Snapshot>
Expand description

Hash every file under dir in parallel. Returns a map from relative path to its BLAKE3 digest.

ยงErrors

Returns an error if directory traversal or hashing fails.