]> source.dussan.org Git - gitea.git/commit
Add size to Save function (#15264) (#15271)
authorzeripath <art27@cantab.net>
Sun, 4 Apr 2021 16:04:36 +0000 (17:04 +0100)
committerGitHub <noreply@github.com>
Sun, 4 Apr 2021 16:04:36 +0000 (12:04 -0400)
commit013639b13f6591176f50b978f5c33802001ecadb
tree037f1a0513281c972d5f821bc4d96703a4843124
parent558b0005ffbc3f2b0a58ad32621ec5f4983c7fcb
Add size to Save function (#15264) (#15271)

Backport #15264

This PR proposes an alternative solution to #15255 - just add the size to the
save function. Yes it is less apparently clean but it may be more correct.

Close #15255
Fix #15253

Signed-off-by: Andrew Thornton <art27@cantab.net>
integrations/attachment_test.go
models/attachment.go
modules/lfs/content_store.go
modules/migrations/gitea_uploader.go
modules/storage/local.go
modules/storage/minio.go
modules/storage/storage.go