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

Function isCodeGraphDataDir

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

Source from the content-addressed store, hash-verified

83 * neither indexes or watches the other's index directory.
84 */
85export function isCodeGraphDataDir(name: string): boolean {
86 return (
87 name === DEFAULT_CODEGRAPH_DIR ||
88 name === codeGraphDirName() ||
89 name.startsWith(DEFAULT_CODEGRAPH_DIR + '-')
90 );
91}
92
93/**
94 * 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