scancode-workbench
scancode-workbench copied to clipboard
Enable display of folder's files, excluding sub-folders and their contents
It would be useful to be able to view the files contained in a particular folder while excluding from the view all of that folder's sub-folders and their respective contents.
This can be accomplished by filtering on "Type", so the mechanism is there to do this. How do you envision this feature/view to be toggled?
How would that filtering produce the desired result? Let's say I have folder A, containing 2 files and sub-folder B. Assume sub-folder B also contains several files. If I select folder A in the tree and filter for Type = file, I see the files in sub-folder B as well as the files in folder A. Ideally I want just the folder A files to be displayed and not the sub-folder's contents.
Do we still want this toggle?
We can achieve this via the following query:
For example,