MCPcopy Index your code
hub / github.com/chartbrew/chartbrew / chartCacheKey

Method chartCacheKey

server/modules/runtimeCache.js:405–407  ·  view source on GitHub ↗
({ chartId, chartVersion, variantHash, viewerScope = "shared" })

Source from the content-addressed store, hash-verified

403 }
404
405 chartCacheKey({ chartId, chartVersion, variantHash, viewerScope = "shared" }) {
406 return `chart-cache:v${RUNTIME_CACHE_CONFIG.cacheSchemaVersion}:${chartId}:${chartVersion}:${viewerScope}:${variantHash}`;
407 }
408
409 sourceCacheKey({ datasetId, sourceVersion, variantHash, viewerScope = "shared" }) {
410 return `source-cache:v${RUNTIME_CACHE_CONFIG.cacheSchemaVersion}:${datasetId}:${sourceVersion}:${viewerScope}:${variantHash}`;

Callers 3

getChartCacheMethod · 0.95
setChartCacheMethod · 0.95
updateChartDataMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected