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

Function isCodeGraphDataDir

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

Source from the content-addressed store, hash-verified

72 * neither indexes or watches the other's index directory.
73 */
74export function isCodeGraphDataDir(name: string): boolean {
75 return (
76 name === DEFAULT_CODEGRAPH_DIR ||
77 name === codeGraphDirName() ||
78 name.startsWith(DEFAULT_CODEGRAPH_DIR + '-')
79 );
80}
81
82/**
83 * Get the .codegraph directory path for a project

Callers 4

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

Calls 1

codeGraphDirNameFunction · 0.85

Tested by

no test coverage detected