• v0.5.2 6a7590493c

    refactor(upload): use IncomingFile interface instead of multipart headers
    All checks were successful
    Build and Publish Docker Image / deploy (push) Successful in 1m58s

    kato released this 2026-06-10 18:19:45 +03:00 | 2 commits to master since this release

    Refactors the upload handler to use the services.IncomingFile interface instead of concrete *multipart.FileHeader pointers. This decouples the core upload logic from the HTTP multipart implementation, allowing for more flexible file sources.

    Changes include:

    • Introducing namedMultipartFile to adapt multipart headers to the new interface.
    • Updating createOrAppendBox, checkUploadPolicy, and totalUploadBytes to accept IncomingFile.
    • Renaming service calls to CreateBoxFromIncoming and AppendIncomingFiles.
    Downloads