MCPcopy Create free account
hub / github.com/modelcontextprotocol/mcpb / shouldExclude

Function shouldExclude

src/node/files.ts:72–77  ·  view source on GitHub ↗
(
  filePath: string,
  additionalPatterns: string[] = [],
)

Source from the content-addressed store, hash-verified

70 * Used for testing, calls the same methods as the other ignore checks
71 */
72export function shouldExclude(
73 filePath: string,
74 additionalPatterns: string[] = [],
75): boolean {
76 return buildIgnoreChecker(additionalPatterns).ignores(filePath);
77}
78
79export function getAllFiles(
80 dirPath: string,

Callers 1

mcpbignore.test.tsFile · 0.85

Calls 1

buildIgnoreCheckerFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…