pub async fn file_facts_with_progress(
path: &Path,
progress: impl Fn(u64) + Send + Sync,
) -> Result<(u64, [u8; 32]), FileError>Expand description
Size and SHA-256 digest of the file at path, reporting cumulative bytes
consumed after each read.