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

Function uploadPart

apps/sim/lib/uploads/core/storage-service.ts:230–232  ·  view source on GitHub ↗
(partNumber, body)

Source from the content-addressed store, hash-verified

228 const parts: S3MultipartPart[] = []
229 return {
230 async uploadPart(partNumber, body) {
231 parts.push(await uploadS3Part(key, uploadId, partNumber, body, config))
232 },
233 finish: () => completeS3MultipartUpload(key, uploadId, parts, config).then(() => undefined),
234 abort: () => abortS3MultipartUpload(key, uploadId, config),
235 }

Callers

nothing calls this directly

Calls 3

uploadS3PartFunction · 0.85
stageBlobPartFunction · 0.85
pushMethod · 0.45

Tested by

no test coverage detected