MCPcopy Index your code
hub / github.com/simstudioai/sim / getFullCacheKey

Function getFullCacheKey

apps/sim/lib/uploads/utils/user-file-base64.server.ts:304–310  ·  view source on GitHub ↗
(executionId: string | undefined, file: UserFile)

Source from the content-addressed store, hash-verified

302}
303
304function getFullCacheKey(executionId: string | undefined, file: UserFile): string {
305 const fileKey = getFileCacheKey(file)
306 if (executionId) {
307 return `${REDIS_KEY_PREFIX}exec:${executionId}:${fileKey}`
308 }
309 return `${REDIS_KEY_PREFIX}${fileKey}`
310}
311
312function getBudgetIndexKey(executionId: string): string {
313 return `${REDIS_BUDGET_KEY_PREFIX}exec:${executionId}`

Callers 2

getFunction · 0.85
setFunction · 0.85

Calls 1

getFileCacheKeyFunction · 0.85

Tested by

no test coverage detected