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

Function includeIgnoredPatternFor

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

Source from the content-addressed store, hash-verified

1286 * no working escape for `?`, so a `?` stays a one-character wildcard.
1287 */
1288export function includeIgnoredPatternFor(repoDir: string): string {
1289 return '/' + repoDir.replace(/[*[]/g, '\\$&');
1290}
1291
1292/**
1293 * 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