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

Method forProject

src/mcp/explore-session-state.ts:244–247  ·  view source on GitHub ↗

Full state for one project, or `null` if it was never queried this session.

(projectRoot: string)

Source from the content-addressed store, hash-verified

242
243 /** Full state for one project, or `null` if it was never queried this session. */
244 forProject(projectRoot: string): ExploreProjectState | null {
245 const state = this.projects.get(exploreProjectKey(projectRoot));
246 return state ? cloneProject(state) : null;
247 }
248
249 /** Explore calls made this session against a project (including evicted ones). */
250 callCount(projectRoot: string): number {

Callers 1

Calls 3

exploreProjectKeyFunction · 0.85
cloneProjectFunction · 0.85
getMethod · 0.65

Tested by

no test coverage detected