MCPcopy
hub / github.com/simstudioai/sim / get

Method get

apps/sim/lib/uploads/utils/user-file-base64.server.ts:147–147  ·  view source on GitHub ↗
(file: UserFile)

Source from the content-addressed store, hash-verified

145
146interface Base64Cache {
147 get(file: UserFile): Promise<string | null>
148 set(file: UserFile, value: string, ttlSeconds: number): Promise<void>
149}
150

Callers 15

uploadPartFunction · 0.65
triggerFileDownloadFunction · 0.65
getMethod · 0.65
getFunction · 0.65
hydrateUserFileFunction · 0.65
parseInternalFileUrlFunction · 0.65
mapWorkspaceFileRecordFunction · 0.65
resolveFunction · 0.65
mapFolderFunction · 0.65

Implementers 3

InMemoryBase64Cacheapps/sim/lib/uploads/utils/user-file-b
RedisMcpCacheapps/sim/lib/mcp/storage/redis-cache.t
MemoryMcpCacheapps/sim/lib/mcp/storage/memory-cache.

Calls

no outgoing calls

Tested by

no test coverage detected