Sha256: 5231b01f30013255e0f6d88edec2be721acf40ee8fb3a20dab9aaf148c2fc1bc

Contents?: true

Size: 1.12 KB

Versions: 7

Compression:

Stored size: 1.12 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

7 entries across 7 versions & 1 rubygems

Version Path
entangled-0.0.16 spec/dummy/public/node_modules/bower/node_modules/junk/index.js
entangled-0.0.15 spec/dummy/public/node_modules/bower/node_modules/junk/index.js
entangled-0.0.14 spec/dummy/public/node_modules/bower/node_modules/junk/index.js
entangled-0.0.13 spec/dummy/public/node_modules/bower/node_modules/junk/index.js
entangled-0.0.12 spec/dummy/public/node_modules/bower/node_modules/junk/index.js
entangled-0.0.11 spec/dummy/public/node_modules/bower/node_modules/junk/index.js
entangled-0.0.10 spec/dummy/public/node_modules/bower/node_modules/junk/index.js