MCPcopy Index your code
hub / github.com/forloopcodes/contextplus / loadCache

Function loadCache

src/core/embeddings.ts:405–407  ·  view source on GitHub ↗
(rootDir: string)

Source from the content-addressed store, hash-verified

403}
404
405async function loadCache(rootDir: string): Promise<EmbeddingCache> {
406 return loadEmbeddingCache(rootDir, CACHE_FILE);
407}
408
409async function saveCache(rootDir: string, cache: EmbeddingCache): Promise<void> {
410 await saveEmbeddingCache(rootDir, cache, CACHE_FILE);

Callers 1

indexMethod · 0.85

Calls 1

loadEmbeddingCacheFunction · 0.85

Tested by

no test coverage detected