MCPcopy
hub / github.com/CodeboxIDE/codebox / isIgnoredFile

Function isIgnoredFile

client/core/localfs.js:129–134  ·  view source on GitHub ↗
(path)

Source from the content-addressed store, hash-verified

127 * Test if path is ignored files
128 */
129 var isIgnoredFile = function(path) {
130 return _.reduce(_ignoredFiles, function(state, ignoredPath) {
131 if (state) return state;
132 if (path.indexOf(ignoredPath) == 0) return true;
133 }, false);
134 };
135
136 /*
137 * Return informations about a fileentry

Callers 3

addChangeFunction · 0.85
getDirChangesFunction · 0.85
doSyncFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected