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.6.3 node_modules/bower/node_modules/junk/index.js
trusty-festivity-extension-2.6.2 node_modules/bower/node_modules/junk/index.js
trusty-festivity-extension-2.6.1 node_modules/bower/node_modules/junk/index.js
trusty-festivity-extension-2.6 node_modules/bower/node_modules/junk/index.js
trusty-festivity-extension-2.5.19 node_modules/bower/node_modules/junk/index.js
trusty-festivity-extension-2.5.18 node_modules/bower/node_modules/junk/index.js
trusty-festivity-extension-2.5.17 node_modules/bower/node_modules/junk/index.js
trusty-festivity-extension-2.5.16 node_modules/bower/node_modules/junk/index.js
trusty-festivity-extension-2.5.15 node_modules/bower/node_modules/junk/index.js
trusty-festivity-extension-2.5.14 node_modules/bower/node_modules/junk/index.js
trusty-festivity-extension-2.5.13 node_modules/bower/node_modules/junk/index.js
trusty-festivity-extension-2.5.12 node_modules/bower/node_modules/junk/index.js
trusty-festivity-extension-2.5.11 node_modules/bower/node_modules/junk/index.js
trusty-festivity-extension-2.5.10 node_modules/bower/node_modules/junk/index.js
trusty-festivity-extension-2.5.9 node_modules/bower/node_modules/junk/index.js
trusty-festivity-extension-2.5.8 node_modules/bower/node_modules/junk/index.js
trusty-festivity-extension-2.5.7 node_modules/bower/node_modules/junk/index.js
trusty-festivity-extension-2.5.6 node_modules/bower/node_modules/junk/index.js
trusty-festivity-extension-2.5.5 node_modules/bower/node_modules/junk/index.js
trusty-festivity-extension-2.5.4 node_modules/bower/node_modules/junk/index.js