mirror of
https://github.com/bootandy/dust.git
synced 2026-06-08 11:29:05 +03:00
[PR #470] [MERGED] feat: Handle duplicate dir names better #497
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/470
Author: @bootandy
Created: 2/6/2025
Status: ✅ Merged
Merged: 2/21/2025
Merged by: @bootandy
Base:
master← Head:same_dir_names2📝 Commits (1)
759658efeat: Handle duplicate dir names better📊 Changes
6 files changed (+83 additions, -2 deletions)
View changed files
📝
src/display.rs(+1 -1)📝
src/filter.rs(+65 -1)📝
src/main.rs(+1 -0)➕
tests/test_dir_matching/andy/dup_name/hello(+0 -0)➕
tests/test_dir_matching/dave/dup_name/hello(+0 -0)📝
tests/test_flags.rs(+16 -0)📄 Description
If we run
dust /usr/*/TrashWe see several 'Trash' directories in the output but do not know which user they belong to.
This fix means if we see duplicate names in a directory we will display the parent directory name as well
for: https://github.com/bootandy/dust/issues/441
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.