recommendations
recommendations copied to clipboard
Exclude hidden files from recent recommendations
Resolves #71 by
- Restructuring
getMostRecentRecommendationto better allow for filtering of results. - Implementing filter
isNodeExcludedin order to exclude nodes which are either hidden files or descendants of hidden folders. A traversal of the file system hierarchy is necessary to find hidden ancestors, which greatly reduces the worst-case time complexity. - Respecting the user's configuration selection regarding hidden files.
The number of candidate files is arbitrarily limited by 10 times the actual number requested.
Please rebase? :see_no_evil: