Search provider #1

Open
opened 2024-12-07 14:40:51 -07:00 by sashakoshka · 1 comment
Owner

It would be nice to have some sort of function to search all directories in the site, or under a subdirectory. It would be called with a template function, and it would return a list of paths relative to the site root.

searchDirs "some-dir" "cats"

Also could have a searchFiles function that searches for non-hidden files within child directories. This could be useful for a library or something.

It would be nice to have some sort of function to search all directories in the site, or under a subdirectory. It would be called with a template function, and it would return a list of paths relative to the site root. ``` searchDirs "some-dir" "cats" ``` Also could have a searchFiles function that searches for non-hidden files within child directories. This could be useful for a library or something.
Author
Owner

Could also have fuzzy and non-fuzzy variants, or maybe some kind of fuzziness value from 0 to 1.

Could also have fuzzy and non-fuzzy variants, or maybe some kind of fuzziness value from 0 to 1.
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: sashakoshka/step#1
No description provided.