MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / includeIgnoredPatternFor

Function includeIgnoredPatternFor

src/extraction/index.ts:1304–1306  ·  view source on GitHub ↗
(repoDir: string)

Source from the content-addressed store, hash-verified

1302 * no working escape for `?`, so a `?` stays a one-character wildcard.
1303 */
1304export function includeIgnoredPatternFor(repoDir: string): string {
1305 return '/' + repoDir.replace(/[*[]/g, '\\$&');
1306}
1307
1308/**
1309 * Discover embedded repos hidden by `repoDir`'s OWN gitignore rules: for each

Callers 2

optsInFunction · 0.90

Calls

no outgoing calls

Tested by 1

optsInFunction · 0.72