MCPcopy Create free account
hub / github.com/webpro-nl/knip / getEntryFilePatterns

Method getEntryFilePatterns

packages/knip/src/WorkspaceWorker.ts:180–185  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

178 }
179
180 getEntryFilePatterns() {
181 const { entry } = this.config;
182 if (entry.length === 0) return [];
183 const excludeProductionNegations = entry.filter(pattern => !(pattern.startsWith('!') && pattern.endsWith('!')));
184 return [excludeProductionNegations, this.negatedWorkspacePatterns].flat();
185 }
186
187 getProjectFilePatterns(projectFilePatterns: string[]) {
188 const { project } = this.config;

Callers 1

buildFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected