mirror of
https://github.com/bootandy/dust.git
synced 2026-06-08 11:29:05 +03:00
[PR #224] [MERGED] Fix: Allow -n to be used with -d #362
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/224
Author: @bootandy
Created: 7/1/2022
Status: ✅ Merged
Merged: 7/13/2022
Merged by: @bootandy
Base:
master← Head:depth_and_number📝 Commits (2)
e4dbccfFix: Allow -n to be used with -d0c1b7feRename variable📊 Changes
4 files changed (+59 additions, -70 deletions)
View changed files
📝
src/dir_walker.rs(+12 -3)📝
src/filter.rs(+16 -43)📝
src/main.rs(+28 -24)📝
src/node.rs(+3 -0)📄 Description
Allow -n for number_of_lines to be used with -d 'max depth'
Remove depth specific functions, the job is now handled by the mainline
Add depth as a field onto the Node object.
https://github.com/bootandy/dust/issues/220
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.