MCPcopy
hub / github.com/zxlie/FeHelper / shouldExcludeFile

Function shouldExcludeFile

gulpfile.js:213–218  ·  view source on GitHub ↗
(filePath)

Source from the content-addressed store, hash-verified

211 const allFiles = new Set();
212 const referencedFiles = new Set();
213 function shouldExcludeFile(filePath) {
214 if (filePath.includes('content-script.js') || filePath.includes('content-script.css')) return true;
215 if (filePath.includes('node_modules')) return true;
216 if (filePath.endsWith('fh-config.js')) return true;
217 return false;
218 }
219 function getAllFiles(dir) {
220 const files = fs.readdirSync(dir);
221 files.forEach(file => {

Callers 5

getAllFilesFunction · 0.85
findReferencesFunction · 0.85
checkManifestFieldFunction · 0.85
runTestsFunction · 0.85
detectUnusedFilesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected