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

Function isCodeGraphDataDir

src/directory.ts:86–92  ·  view source on GitHub ↗
(name: string)

Source from the content-addressed store, hash-verified

84 * neither indexes or watches the other's index directory.
85 */
86export function isCodeGraphDataDir(name: string): boolean {
87 return (
88 name === DEFAULT_CODEGRAPH_DIR ||
89 name === codeGraphDirName() ||
90 name.startsWith(DEFAULT_CODEGRAPH_DIR + '-')
91 );
92}
93
94/**
95 * The data directory name for one project: {@link codeGraphDirName}, except

Callers 4

walkFunction · 0.90
findNestedGitReposFunction · 0.90
isAlwaysIgnoredMethod · 0.90
foundation.test.tsFile · 0.90

Calls 1

codeGraphDirNameFunction · 0.85

Tested by

no test coverage detected