mirror of
https://github.com/bootandy/dust.git
synced 2026-06-08 11:29:05 +03:00
[PR #176] [MERGED] Ignore dir to regex #342
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/176
Author: @bootandy
Created: 9/19/2021
Status: ✅ Merged
Merged: 9/19/2021
Merged by: @bootandy
Base:
master← Head:ignore_dir_to_regex📝 Commits (3)
a3bf93eFeature: Adding file types filter & F flag changedb6df5c6Feature: Filter by invert_filter: reverse match8b6ac81Clap: 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.