[PR #224] [MERGED] Fix: Allow -n to be used with -d #362

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

📋 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: masterHead: depth_and_number


📝 Commits (2)

📊 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.

## 📋 Pull Request Information **Original PR:** https://github.com/bootandy/dust/pull/224 **Author:** [@bootandy](https://github.com/bootandy) **Created:** 7/1/2022 **Status:** ✅ Merged **Merged:** 7/13/2022 **Merged by:** [@bootandy](https://github.com/bootandy) **Base:** `master` ← **Head:** `depth_and_number` --- ### 📝 Commits (2) - [`e4dbccf`](https://github.com/bootandy/dust/commit/e4dbccf05a6b3d1e7d62170cb52d916cb0d6933c) Fix: Allow -n to be used with -d - [`0c1b7fe`](https://github.com/bootandy/dust/commit/0c1b7fe99f87ebe46f9ea3d2ddc726d862d27ef2) Rename variable ### 📊 Changes **4 files changed** (+59 additions, -70 deletions) <details> <summary>View changed files</summary> 📝 `src/dir_walker.rs` (+12 -3) 📝 `src/filter.rs` (+16 -43) 📝 `src/main.rs` (+28 -24) 📝 `src/node.rs` (+3 -0) </details> ### 📄 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 --- <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:32 +03:00
zhus closed this issue 2026-06-08 11:27:32 +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#362