Add -Top parameter and tree consolidation logic#66
Merged
santisq merged 8 commits intoMay 2, 2026
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #66 +/- ##
==========================================
+ Coverage 98.18% 98.24% +0.06%
==========================================
Files 37 38 +1
Lines 825 913 +88
Branches 108 118 +10
==========================================
+ Hits 810 897 +87
- Misses 8 9 +1
Partials 7 7
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
santisq
deleted the
63-add-top-n-summarizationconsolidation-for-large-subtrees
branch
May 2, 2026 13:19
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
New Features
-Topparameter (alias-t) toGet-PSTreeto limit the number of children displayed per directory.-Topautomatically enables-RecursiveSizeand defaults-SortBytoSizewhen-SortByis not bound.-Topis only used with size-based sort modes (SizeorDirectoriesFirstBySize), throwing a terminating error for incompatible combinations.TreeSummarynode class to represent aggregated "overflow" items when-Topis used.SummaryStyleproperty toTreeStyle.FileSystemStyleto allow customizable coloring for summary objects.Changed
.Render(), improving consistency and performance during enumeration.Get-PSTree(especially the-Topparameter,TreeSummaryoutput type, and usage examples).