Main: Sort hashed files before iterating
To ensure the start flag working properly it is required to have a deterministic order to start with the same vector of hashed files each run.
This commit is contained in:
parent
7c815712ae
commit
402ffb2deb
|
@ -64,6 +64,8 @@ fn run() -> Result<()> {
|
|||
|
||||
let pool = ThreadPoolBuilder::new().num_threads(args.jobs as usize).build().unwrap();
|
||||
|
||||
hashed_files.sort();
|
||||
|
||||
let hashed_files_len = hashed_files.len();
|
||||
|
||||
if start != 0 {
|
||||
|
|
Loading…
Reference in a new issue