Find file is project


#1

I’m having some trouble understandind the api structure, i want to find a file by name or regex in any of the current project folder programmatically.

Where do i start?


#2

You start here with Project.getPaths to get a list of the root paths in the project. Once you have that list you can use your standard directory search tools from Node to find/match files.


#3

Thank you

for future references, globule library for globbing helped me achieve finding files in a given path