Function hashdeep_compare::sort::sort_log [−][src]
pub fn sort_log(
filename: &str,
out_filename: &str
) -> Result<Option<Vec<String>>, Box<dyn Error>>
Expand description
Reads a hashdeep log file and writes its entries to a new file, sorted by name.
On success, returns a Vec of warning strings, if any warnings were emitted while reading the file.
Errors
Any error emitted while reading or writing the files will be returned.