MCPcopy Create free account
hub / github.com/ChatLab/ChatLab / getQueryCacheDir

Function getQueryCacheDir

apps/desktop/main/worker/dbWorker.ts:100–103  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

98const APP_VERSION: string = workerData?.appVersion ?? ''
99
100function getQueryCacheDir(): string {
101 const cacheDir = getCacheDir()
102 return cacheDir ? path.join(cacheDir, 'query') : ''
103}
104
105const CACHEABLE_QUERIES = new Set([
106 'getAvailableYears',

Callers 1

dbWorker.tsFile · 0.85

Calls 1

getCacheDirFunction · 0.90

Tested by

no test coverage detected