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

Function includeIgnoredPatternFor

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

Source from the content-addressed store, hash-verified

1415 * no working escape for `?`, so a `?` stays a one-character wildcard.
1416 */
1417export function includeIgnoredPatternFor(repoDir: string): string {
1418 return '/' + repoDir.replace(/[*[]/g, '\\$&');
1419}
1420
1421/**
1422 * 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