sort_log

Function sort_log 

Source
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.