docs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10
A utility that filters file paths based on file extension patterns using glob matching.
*.js) @test*.js and *.ts) @test*.js matches file.js but not src/file.js @test/**
* Filters an array of file paths based on one or more glob patterns.
*
* @param {string[]} paths - Array of file paths to filter
* @param {string|string[]} patterns - Glob pattern(s) to match against
* @returns {string[]} Array of paths that match the pattern(s)
*/
function filterFiles(paths, patterns) {
// IMPLEMENTATION HERE
}
module.exports = {
filterFiles
};Provides glob matching support.