(require("crx3/lib/getFilePaths"))(list) → {Array.<string>}
- Description:
If list contains only a path to
manifest.json
file,
return list of files from its directory.Otherwise scan directories recursively and return a list of all files.
- Source:
Parameters:
Name | Type | Description |
---|---|---|
list |
Array.<string> | can contain paths to directories and/or files |
Returns:
- Type
- Array.<string>