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

Function defaultsOnlyIgnore

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

672 * whose gitignore semantics their own `git ls-files` already enforced (#514).
673 */
674function defaultsOnlyIgnore(): Ignore {
675 return excludeBuildOutputUnderSrc(ignore().add(DEFAULT_IGNORE_PATTERNS), null);
676}
677
678/**
679 * 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 2

addMethod · 0.45

Tested by

no test coverage detected