Methods
(async, inner) getFileList(glob, options) → {Promise.<Array.<FILE_LIST>>}
get file list based on glob pattern
Parameters:
Name | Type | Description |
---|---|---|
glob |
string | glob pattern |
options |
Object | options |
- Source:
Returns:
node file list
- Type
- Promise.<Array.<FILE_LIST>>
(async, inner) isFileDir(path) → {Promise.<boolean>}
check if file/dir exists
Parameters:
Name | Type | Description |
---|---|---|
path |
string | file/dir path |
- Source:
Returns:
- Type
- Promise.<boolean>