MCPcopy
hub / github.com/chartbrew/chartbrew / sourceCacheKey

Method sourceCacheKey

server/modules/runtimeCache.js:409–411  ·  view source on GitHub ↗
({ datasetId, sourceVersion, variantHash, viewerScope = "shared" })

Source from the content-addressed store, hash-verified

407 }
408
409 sourceCacheKey({ datasetId, sourceVersion, variantHash, viewerScope = "shared" }) {
410 return `source-cache:v${RUNTIME_CACHE_CONFIG.cacheSchemaVersion}:${datasetId}:${sourceVersion}:${viewerScope}:${variantHash}`;
411 }
412
413 usageKey(chartId) {
414 return `chart-cache:v${RUNTIME_CACHE_CONFIG.cacheSchemaVersion}:usage:${chartId}`;

Callers 3

getSourceCacheMethod · 0.95
setSourceCacheMethod · 0.95
runRequestMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected