generated from Nexus-Mods/NexusMods.App.Template
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add depth and FindSubPath to FileTreeNode
A new property 'Depth' and a new method 'FindSubPath' were added to 'FileTreeNode'. 'Depth' is a ushort that represents a node's depth in the tree and can be used for various calculations. 'FindSubPath' is a function that returns all nodes that match a given subpath. This enhancement will allow more complex manipulations and considerations of the file tree hierarchy. Meanwhile, a test for 'FindSubPath' has been implemented in 'RelativeFileTreeTests'.
- Loading branch information
Showing
2 changed files
with
106 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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