StackGenVis: Alignment of Data, Algorithms, and Models for Stacking Ensemble Learning Using Performance Metrics https://doi.org/10.1109/TVCG.2020.3030352
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
StackGenVis/frontend/node_modules/file-match
Angelos Chatzimparmpas e069030893 fix the frontend 3 years ago
..
test fix the frontend 3 years ago
.npmignore fix the frontend 3 years ago
Gruntfile.js fix the frontend 3 years ago
README.md fix the frontend 3 years ago
file-match.js fix the frontend 3 years ago
package.json fix the frontend 3 years ago

README.md

file-match

Match filepath is validated, or exclude filepath that don't need

var fileMatch = require('file-match');

var filter = fileMatch('*.js');

filter('a.js');            // true
filter('path/a.js');       // false

var filter = fileMatch([
  '**/*',
  '!path/*.js'
  '!img/**/.{jpg,png,gif}'
]);

filter('src/demo.js')           // true
filter('path/demo.js')          // false
filter('path/path/demo.js')     // true
filter('img/demo.png')          // false
filter('img/path/demo.png')     // false

var filter = fileMatch([
  'path/*.js'
], true);

If the filter value is empty string or empty arry, it will always return false, if it's null, will always return true.

filter description

  • *.js only match js files in current dir.
  • **/*.js match all js files.
  • path/*.js match js files in path.
  • !*.js exclude js files in current dir.
  • .{jpg,png,gif} means jpg, png or gif
'**/*'                 // Match all files
'!**/*.js'             // Exclude all js files
'**/*.{jpg,png,gif}'   // Match jpg, png, or gif files

ignore case

  • ignore {boolean} [ignore = false]