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

Function exploreProjectKey

src/mcp/explore-session-state.ts:151–156  ·  view source on GitHub ↗
(projectRoot: string)

Source from the content-addressed store, hash-verified

149 * drive-letter or capitalization difference doesn't split one project in two.
150 */
151export function exploreProjectKey(projectRoot: string): string {
152 const resolved = path.resolve(projectRoot);
153 return process.platform === 'win32' || process.platform === 'darwin'
154 ? resolved.toLowerCase()
155 : resolved;
156}
157
158/**
159 * Merge overlapping / adjacent spans into the smallest equivalent set, then cap

Callers 5

recordMethod · 0.85
forProjectMethod · 0.85
callCountMethod · 0.85
viewForProjectFunction · 0.85

Calls 1

resolveMethod · 0.65

Tested by

no test coverage detected