[PR #176] [MERGED] Ignore dir to regex #342

Closed
opened 2026-06-08 11:27:20 +03:00 by zhus · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/bootandy/dust/pull/176
Author: @bootandy
Created: 9/19/2021
Status: Merged
Merged: 9/19/2021
Merged by: @bootandy

Base: masterHead: ignore_dir_to_regex


📝 Commits (3)

  • a3bf93e Feature: Adding file types filter & F flag changed
  • b6df5c6 Feature: Filter by invert_filter: reverse match
  • 8b6ac81 Clap: use default_value on input

📊 Changes

10 files changed (+283 additions, -53 deletions)

View changed files

📝 Cargo.lock (+17 -16)
📝 Cargo.toml (+1 -0)
📝 README.md (+2 -0)
📝 src/dir_walker.rs (+27 -0)
📝 src/display.rs (+0 -4)
📝 src/filter.rs (+75 -5)
📝 src/main.rs (+76 -14)
📝 src/node.rs (+22 -5)
📝 src/utils.rs (+21 -6)
📝 tests/test_flags.rs (+42 -3)

📄 Description

replaces: https://github.com/bootandy/dust/pull/174

t = Show summary of types

-e = Filter by regex
allows you to specify a file type like -e ".txt$"

-v = Filter by inverse regex
allows you to ignore a file type like -v ".txt$"

Change behaviour of '-f' flag - it now counts only files. Before it
counted files & directories. This was needed for compatibility with
the new '-e' filter flag


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/bootandy/dust/pull/176 **Author:** [@bootandy](https://github.com/bootandy) **Created:** 9/19/2021 **Status:** ✅ Merged **Merged:** 9/19/2021 **Merged by:** [@bootandy](https://github.com/bootandy) **Base:** `master` ← **Head:** `ignore_dir_to_regex` --- ### 📝 Commits (3) - [`a3bf93e`](https://github.com/bootandy/dust/commit/a3bf93ea0eab0486afb19da28ea6399b488fde9d) Feature: Adding file types filter & F flag changed - [`b6df5c6`](https://github.com/bootandy/dust/commit/b6df5c65f94c9485d3211ab0b8721533c6145b07) Feature: Filter by invert_filter: reverse match - [`8b6ac81`](https://github.com/bootandy/dust/commit/8b6ac81cb1ebe1ad59c9680136f98a094d066d8b) Clap: use default_value on input ### 📊 Changes **10 files changed** (+283 additions, -53 deletions) <details> <summary>View changed files</summary> 📝 `Cargo.lock` (+17 -16) 📝 `Cargo.toml` (+1 -0) 📝 `README.md` (+2 -0) 📝 `src/dir_walker.rs` (+27 -0) 📝 `src/display.rs` (+0 -4) 📝 `src/filter.rs` (+75 -5) 📝 `src/main.rs` (+76 -14) 📝 `src/node.rs` (+22 -5) 📝 `src/utils.rs` (+21 -6) 📝 `tests/test_flags.rs` (+42 -3) </details> ### 📄 Description replaces: https://github.com/bootandy/dust/pull/174 t = Show summary of types -e = Filter by regex allows you to specify a file type like -e ".txt$" -v = Filter by inverse regex allows you to ignore a file type like -v ".txt$" Change behaviour of '-f' flag - it now counts only files. Before it counted files & directories. This was needed for compatibility with the new '-e' filter flag --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
zhus added the pull-request label 2026-06-08 11:27:20 +03:00
zhus closed this issue 2026-06-08 11:27:21 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: bootandy/archived-dust#342