Main: Canonicalize paths before sorting

This commit is contained in:
networkException 2022-04-22 02:50:22 +02:00
parent 402ffb2deb
commit 1559b7557f
No known key found for this signature in database
GPG key ID: C1F2658DC370C8FC

View file

@ -51,7 +51,7 @@ fn run() -> Result<()> {
for directory in directories_with_hashed_files {
for file in directory.read_dir()? {
let file = file?;
let path = file.path();
let path = file.path().canonicalize()?;
hashed_files.push(path);
}