Sha256: a6494c0115c91240d9540e4a24cfec0aaa379921e2f6a069e05c4114c3123fab

Contents?: true

Size: 1.13 KB

Versions: 62

Compression:

Stored size: 1.13 KB

Contents

'use strict';

// // All
// /^npm-debug\.log$/,   // npm error log
// /^\..*\.swp$/,        // vim state
// // OS X
// /^\.DS_Store$/,       // stores custom folder attributes
// /^\.AppleDouble$/,    // stores additional file resources
// /^\.LSOverride$/,     // contains the absolute path to the app to be used
// /^Icon[\r\?]?/,       // custom Finder icon
// /^\._.*/,             // thumbnail
// /^\.Spotlight-V100$/,  // file that might appear on external disk
// /\.Trashes/,          // file that might appear on external disk
// /^__MACOSX$/,         // resource fork
// // Linux
// /~$/,                 // backup file
// // Windows
// /^Thumbs\.db$/,       // image file cache
// /^ehthumbs\.db$/,     // folder config file
// /^Desktop\.ini$/      // stores custom folder attributes

exports.re = /^npm-debug\.log$|^\..*\.swp$|^\.DS_Store$|^\.AppleDouble$|^\.LSOverride$|^Icon[\r\?]?|^\._.*|^\.Spotlight-V100$|\.Trashes|^__MACOSX$|~$|^Thumbs\.db$|^ehthumbs\.db$|^Desktop\.ini$/;

exports.is = function (filename) {
	return exports.re.test(filename);
};

exports.not = exports.isnt = function (filename) {
	return !exports.is(filename);
};

Version data entries

62 entries across 62 versions & 1 rubygems

Version Path
trusty-festivity-extension-2.5.3 node_modules/bower/node_modules/junk/index.js
trusty-festivity-extension-2.5.2 node_modules/bower/node_modules/junk/index.js
trusty-festivity-extension-2.5.1 node_modules/bower/node_modules/junk/index.js
trusty-festivity-extension-2.5.0 node_modules/bower/node_modules/junk/index.js
trusty-festivity-extension-2.4.6 node_modules/bower/node_modules/junk/index.js
trusty-festivity-extension-2.4.5 node_modules/bower/node_modules/junk/index.js
trusty-festivity-extension-2.4.4 node_modules/bower/node_modules/junk/index.js
trusty-festivity-extension-2.4.3 node_modules/bower/node_modules/junk/index.js
trusty-festivity-extension-2.4.2 node_modules/bower/node_modules/junk/index.js
trusty-festivity-extension-2.4.1 node_modules/bower/node_modules/junk/index.js
trusty-festivity-extension-2.4.0 node_modules/bower/node_modules/junk/index.js
trusty-festivity-extension-2.3.30 node_modules/bower/node_modules/junk/index.js
trusty-festivity-extension-2.3.29 node_modules/bower/node_modules/junk/index.js
trusty-festivity-extension-2.3.28 node_modules/bower/node_modules/junk/index.js
trusty-festivity-extension-2.3.27 node_modules/bower/node_modules/junk/index.js
trusty-festivity-extension-2.3.26 node_modules/bower/node_modules/junk/index.js
trusty-festivity-extension-2.3.25 node_modules/bower/node_modules/junk/index.js
trusty-festivity-extension-2.3.24 node_modules/bower/node_modules/junk/index.js
trusty-festivity-extension-2.3.23 node_modules/bower/node_modules/junk/index.js
trusty-festivity-extension-2.3.22 node_modules/bower/node_modules/junk/index.js