(path: &Path)
| 350 | } |
| 351 | |
| 352 | fn source_key(path: &Path) -> PristineResult<String> { |
| 353 | let name = path |
| 354 | .file_name() |
| 355 | .and_then(|name| name.to_str()) |
| 356 | .ok_or_else(|| merge_error("legacy source must have a UTF-8 filename".into()))?; |
| 357 | Ok(format!("legacy_source/{name}")) |
| 358 | } |
| 359 | |
| 360 | fn fingerprint<'a>(tables: impl Iterator<Item = (&'a String, &'a TableDigest)>) -> [u8; 32] { |
| 361 | let mut digest = blake3::Hasher::new(); |
no test coverage detected