[PR #174] [CLOSED] Feature: Adding file types filter & F flag changed #343

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

📋 Pull Request Information

Original PR: https://github.com/bootandy/dust/pull/174
Author: @bootandy
Created: 9/4/2021
Status: Closed

Base: masterHead: by_type4


📝 Commits (2)

  • a3bf93e Feature: Adding file types filter & F flag changed
  • 1d1bada Feature: Filter by invert_filter: reverse match

📊 Changes

10 files changed (+278 additions, -46 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 (+71 -7)
📝 src/node.rs (+22 -5)
📝 src/utils.rs (+21 -6)
📝 tests/test_flags.rs (+42 -3)

📄 Description

-t = Show summary of types

-e = Filter by regex
allows you to specify a file type like -e ".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/174 **Author:** [@bootandy](https://github.com/bootandy) **Created:** 9/4/2021 **Status:** ❌ Closed **Base:** `master` ← **Head:** `by_type4` --- ### 📝 Commits (2) - [`a3bf93e`](https://github.com/bootandy/dust/commit/a3bf93ea0eab0486afb19da28ea6399b488fde9d) Feature: Adding file types filter & F flag changed - [`1d1bada`](https://github.com/bootandy/dust/commit/1d1bada2e402714b2c77900496616f4bca49dd5f) Feature: Filter by invert_filter: reverse match ### 📊 Changes **10 files changed** (+278 additions, -46 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` (+71 -7) 📝 `src/node.rs` (+22 -5) 📝 `src/utils.rs` (+21 -6) 📝 `tests/test_flags.rs` (+42 -3) </details> ### 📄 Description -t = Show summary of types -e = Filter by regex allows you to specify a file type like -e "\.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:21 +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#343