This is the files main export entry point.
It exposes all exports of the files validators.
- License:
- Source:
Methods
-
<private, inner> excludesFilesPaths(filePaths, excludes)
-
Will create an array without the strings in filePaths that are matched in excludes paths
Parameters:
Name Type Description filePaths
Array.<string> An array of string to clean excludes
Array.<string> The paths to remove - Source:
Returns:
The cleaned filePaths of excludes paths- Type
- Array.<string>
-
<private, inner> filterJavascriptFiles(filePaths, filter)
-
Will filter file paths a keep only js files
Parameters:
Name Type Description filePaths
Array.<string> An array of path to filter filter
function An optional filter to apply instead of internal filter - Source:
Returns:
The filtered path with only javascript files- Type
- Array.<string>
-
<inner> getFilesPathsUnder(paths)
-
Allow to search all files under filePaths in a recursive way
Parameters:
Name Type Description paths
Array.<string> | string The files paths where search files - Source:
Returns:
- The paths of found files- Type
- Array
-
<private, inner> getFilesPathsUnder_1(filePaths)
-
Return all the files paths under filePaths in a recursive way.
Parameters:
Name Type Description filePaths
string An array of string, representing the base path where looking for get all files paths - Source:
Returns:
- An array of files paths- Type
- Array.<string>