-
refactor(upload): use IncomingFile interface instead of multipart headers
All checks were successfulBuild and Publish Docker Image / deploy (push) Successful in 1m58sreleased this
2026-06-10 18:19:45 +03:00 | 2 commits to master since this releaseRefactors the upload handler to use the
services.IncomingFileinterface instead of concrete*multipart.FileHeaderpointers. This decouples the core upload logic from the HTTP multipart implementation, allowing for more flexible file sources.Changes include:
- Introducing
namedMultipartFileto adapt multipart headers to the new interface. - Updating
createOrAppendBox,checkUploadPolicy, andtotalUploadBytesto acceptIncomingFile. - Renaming service calls to
CreateBoxFromIncomingandAppendIncomingFiles.
Downloads
- Introducing