MCPcopy Create free account
hub / github.com/anus-dev/ANUS / addPatterns

Method addPatterns

packages/core/src/utils/gitIgnoreParser.ts:55–58  ·  view source on GitHub ↗
(patterns: string[])

Source from the content-addressed store, hash-verified

53 }
54
55 private addPatterns(patterns: string[]) {
56 this.ig.add(patterns);
57 this.patterns.push(...patterns);
58 }
59
60 isIgnored(filePath: string): boolean {
61 const resolved = path.resolve(this.projectRoot, filePath);

Callers 2

loadGitRepoPatternsMethod · 0.95
loadPatternsMethod · 0.95

Calls 1

addMethod · 0.80

Tested by

no test coverage detected