src/client/backup_reader.rs: make compute_file_csum() public

This commit is contained in:
Dietmar Maurer 2020-01-05 14:50:54 +01:00
parent 3743dee6de
commit 5e1d1bead1

View File

@ -219,7 +219,7 @@ impl BackupReader {
} }
} }
fn compute_file_csum(file: &mut File) -> Result<([u8; 32], u64), Error> { pub fn compute_file_csum(file: &mut File) -> Result<([u8; 32], u64), Error> {
file.seek(SeekFrom::Start(0))?; file.seek(SeekFrom::Start(0))?;