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

Method clear

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

Drop everything. Used by tests; a real session just goes away instead.

()

Source from the content-addressed store, hash-verified

277
278 /** Drop everything. Used by tests; a real session just goes away instead. */
279 clear(): void {
280 this.projects.clear();
281 }
282
283 /**
284 * Fetch a project's state, creating it if new, and mark it most-recently-used.

Callers 6

stopMethod · 0.45
rejectPendingFunction · 0.45
onDaemonLostFunction · 0.45
closeAllMethod · 0.45
replaceIfHeavyMethod · 0.45
destroyMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected