mirror of
https://github.com/bootandy/dust.git
synced 2026-06-08 11:29:05 +03:00
[PR #174] [CLOSED] Feature: Adding file types filter & F flag changed #343
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/174
Author: @bootandy
Created: 9/4/2021
Status: ❌ Closed
Base:
master← Head:by_type4📝 Commits (2)
a3bf93eFeature: Adding file types filter & F flag changed1d1badaFeature: 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.