MCPcopy
hub / github.com/Done-0/fuck-u-code / createMatcher

Function createMatcher

src/gitignore/parser.ts:77–82  ·  view source on GitHub ↗
(
  rootIgnore: Ignore,
  nestedIgnores: Map<string, Ignore>
)

Source from the content-addressed store, hash-verified

75 * Create a combined gitignore matcher
76 */
77export function createMatcher(
78 rootIgnore: Ignore,
79 nestedIgnores: Map<string, Ignore>
80): GitignoreMatcher {
81 return new GitignoreMatcher(rootIgnore, nestedIgnores);
82}
83
84/**
85 * Gitignore matcher that handles both root and nested .gitignore files

Callers 2

discoverFilesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected