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

Function defaultsOnlyIgnore

src/extraction/index.ts:308–310  ·  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

306 * whose gitignore semantics their own `git ls-files` already enforced (#514).
307 */
308function defaultsOnlyIgnore(): Ignore {
309 return ignore().add(DEFAULT_IGNORE_PATTERNS);
310}
311
312/**
313 * Matcher for the project's `codegraph.json` `includeIgnored` patterns — the

Callers 7

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

Calls

no outgoing calls

Tested by

no test coverage detected