(path: &Path)
| 9500 | } |
| 9501 | |
| 9502 | fn sha256_file(path: &Path) -> Result<String> { |
| 9503 | let bytes = fs::read(path).with_context(|| format!("read {}", path.display()))?; |
| 9504 | Ok(sha256_bytes(&bytes)) |
| 9505 | } |
| 9506 | |
| 9507 | fn decode_zstd_file(path: &Path) -> Result<Vec<u8>> { |
| 9508 | let file = fs::File::open(path).with_context(|| format!("open {}", path.display()))?; |
no test coverage detected