Describe The Bug
Empty directories are missing in the tree.
Expected Behavior
Empty directories absolutely should be included in trees.
Actual Behavior
nomad skips over all empty directories.
Steps To Reproduce
cd into a directory containing empty subdirectories (or run mkdir <DIRECTORY_NAME> and do not add any files into the new directory).
- Run
nd to display a tree visual of the directory's structure.
- The empty subdirectory/subdirectories or the newly created empty subdirectory will not be included in the tree.
Traceback/Output
N/A
Additional Context
I need to revisit the ToTree trait in src/traverse/traits.rs since this trait is where the tree is built. I think it should (hopefully) be a simple fix once I find where the issue is occurring.
Describe The Bug
Empty directories are missing in the tree.
Expected Behavior
Empty directories absolutely should be included in trees.
Actual Behavior
nomadskips over all empty directories.Steps To Reproduce
cdinto a directory containing empty subdirectories (or runmkdir <DIRECTORY_NAME>and do not add any files into the new directory).ndto display a tree visual of the directory's structure.Traceback/Output
N/A
Additional Context
I need to revisit the
ToTreetrait insrc/traverse/traits.rssince this trait is where the tree is built. I think it should (hopefully) be a simple fix once I find where the issue is occurring.