Add ability to provide initial files to crawl#121
Conversation
auniverseaway
left a comment
There was a problem hiding this comment.
I think "files" is probably misleading since its actually folders you want to traverse.
I would suggest:
- paths (as opposed to path)
- folders
My only argument against paths is that its so similar to path but that may be a feature... if someone does paths + string, we could convert to an array. Same for path... if they provide an array of paths to path we can upgrade it to an array.
|
#118 Added the ability to pass in either a path string, or an array of path strings to to the This PR allows also passing in file objects like: This is specifically for the root search that excludes loc content. With the ability to pass paths AND files, we can give We could just provide file paths instead of objects, but then we'd need to do a |
Needed for adobe/da-live#243
Previously crawl takes a root dir (path arg) and crawls everything within that dir and its children. Now we can provide an array of paths to crawl, as well as a list of files to also crawl.