v2.1.18
What's Changed
- Makes
Depth
property public forPSTreeFileSystemInfo
instances. - Makes
GetParents()
method private, absolutely no reason to have it public. - Added properties
ItemCount
andTotalItemCount
toPSTreeDirectory
instances, requested in #34.
PS ..\PSTree> pstree -Recurse -Force -Directory | Select-Object Hierarchy, Depth, ItemCount, TotalItemCount -First 15
Hierarchy Depth ItemCount TotalItemCount
--------- ----- --------- --------------
PSTree 0 15 1476
├── .git 1 13 1078
│ ├── hooks 2 13 13
│ ├── info 2 1 1
│ ├── logs 2 2 24
│ │ └── refs 3 2 22
│ │ ├── heads 4 9 9
│ │ └── remotes 4 1 11
│ │ └── origin 5 10 10
│ ├── objects 2 244 995
│ │ ├── 00 3 3 3
│ │ ├── 01 3 2 2
│ │ ├── 02 3 3 3
│ │ ├── 03 3 4 4
│ │ ├── 04 3 2 2
PS ..\PSTree> (Get-ChildItem -Force).Count
15
PS ..\PSTree> (Get-ChildItem -Force -Recurse).Count
1476
PS ..\PSTree> (Get-ChildItem .git -Force).Count
13
PS ..\PSTree> (Get-ChildItem .git -Force -Recurse).Count
1078
PS ..\PSTree>
Full Changelog: v2.1.17...v2.1.18