mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-12-15 00:33:02 -06:00
[chore]: Bump github.com/minio/minio-go/v7 from 7.0.60 to 7.0.61 (#2041)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This commit is contained in:
parent
b874e9251e
commit
9ed9d96597
34 changed files with 510 additions and 748 deletions
2
vendor/github.com/minio/minio-go/v7/api-put-object-common.go
generated
vendored
2
vendor/github.com/minio/minio-go/v7/api-put-object-common.go
generated
vendored
|
|
@ -68,7 +68,7 @@ func isReadAt(reader io.Reader) (ok bool) {
|
|||
// maxPartsCount - 10000
|
||||
// minPartSize - 16MiB
|
||||
// maxMultipartPutObjectSize - 5TiB
|
||||
func OptimalPartInfo(objectSize int64, configuredPartSize uint64) (totalPartsCount int, partSize int64, lastPartSize int64, err error) {
|
||||
func OptimalPartInfo(objectSize int64, configuredPartSize uint64) (totalPartsCount int, partSize, lastPartSize int64, err error) {
|
||||
// object size is '-1' set it to 5TiB.
|
||||
var unknownSize bool
|
||||
if objectSize == -1 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue