mirror of
https://github.com/bootandy/dust.git
synced 2026-06-08 11:29:05 +03:00
[PR #237] [MERGED] Fix: Predictable iteration order #369
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/bootandy/dust/pull/237
Author: @bootandy
Created: 8/18/2022
Status: ✅ Merged
Merged: 8/18/2022
Merged by: @bootandy
Base:
master← Head:pred_order📝 Commits (1)
fd4cc07Fix: Predictable iteration order📊 Changes
1 file changed (+18 additions, -2 deletions)
View changed files
📝
src/dir_walker.rs(+18 -2)📄 Description
Sort the Node objects so that duplicate inodes appear in a predictable
order.
Include new sort_by_inode method because this is notably quicker than
sorting by size & name as defined in the nodes.rs file.
Should fix: https://github.com/bootandy/dust/issues/234
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.