MCPcopy
hub / github.com/giancarloerra/SocratiCode / invalidateGraphCache

Function invalidateGraphCache

src/services/code-graph.ts:102–104  ·  view source on GitHub ↗
(projectPath: string)

Source from the content-addressed store, hash-verified

100
101/** Invalidate graph cache for a project (called by watcher on file changes) */
102export function invalidateGraphCache(projectPath: string): void {
103 graphCache.delete(path.resolve(projectPath));
104}
105
106/** Get a cached graph, or load from Qdrant, or build one */
107export async function getOrBuildGraph(

Calls 1

deleteMethod · 0.80

Tested by

no test coverage detected