MCPcopy Create free account
hub / github.com/CodeGraphContext/CodeGraphContext / isDirIgnored

Function isDirIgnored

website/src/components/LocalUploader.tsx:202–206  ·  view source on GitHub ↗
(name: string)

Source from the content-addressed store, hash-verified

200 };
201
202 const isDirIgnored = (name: string) => {
203 if (IGNORED_DIRS.has(name)) return true;
204 if (config.skipTests && ['test', 'tests', '__tests__', 'spec', 'specs'].includes(name.toLowerCase())) return true;
205 return false;
206 };
207
208 const processFiles = async (files: { path: string, content: string }[], repoName: string = "local-project") => {
209 // Build fileContents map before the worker clears content for memory

Callers 1

readDirFunction · 0.85

Calls 1

hasMethod · 0.65

Tested by

no test coverage detected