(file: UserFile)
| 292 | } |
| 293 | |
| 294 | function getFileCacheKey(file: UserFile): string { |
| 295 | if (file.key) { |
| 296 | return `key:${file.key}` |
| 297 | } |
| 298 | if (file.url) { |
| 299 | return `url:${file.url}` |
| 300 | } |
| 301 | return `id:${file.id}` |
| 302 | } |
| 303 | |
| 304 | function getFullCacheKey(executionId: string | undefined, file: UserFile): string { |
| 305 | const fileKey = getFileCacheKey(file) |
no outgoing calls
no test coverage detected