MCPcopy
hub / github.com/colbymchenry/codegraph / defaultsOnlyIgnore

Function defaultsOnlyIgnore

src/extraction/index.ts:293–295  ·  view source on GitHub ↗

* Defaults-only ignore matcher (no root `.gitignore` merged). Used wherever the * parent repo's own ignore rules must NOT apply — inside embedded child repos, * whose gitignore semantics their own `git ls-files` already enforced (#514).

()

Source from the content-addressed store, hash-verified

291 * whose gitignore semantics their own `git ls-files` already enforced (#514).
292 */
293function defaultsOnlyIgnore(): Ignore {
294 return ignore().add(DEFAULT_IGNORE_PATTERNS);
295}
296
297/**
298 * Matcher for the project's `codegraph.json` `includeIgnored` patterns — the

Callers 5

findNestedGitReposFunction · 0.85
ScopeIgnoreClass · 0.85
findIgnoredEmbeddedReposFunction · 0.85
collectGitFilesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected