src/client/backup_reader.rs: make compute_file_csum() public
This commit is contained in:
parent
3743dee6de
commit
5e1d1bead1
@ -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))?;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user