mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-11-01 14:32:25 -05: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
7
vendor/github.com/klauspost/compress/s2/reader.go
generated
vendored
7
vendor/github.com/klauspost/compress/s2/reader.go
generated
vendored
|
|
@ -147,6 +147,13 @@ type Reader struct {
|
|||
ignoreCRC bool
|
||||
}
|
||||
|
||||
// GetBufferCapacity returns the capacity of the internal buffer.
|
||||
// This might be useful to know when reusing the same reader in combination
|
||||
// with the lazy buffer option.
|
||||
func (r *Reader) GetBufferCapacity() int {
|
||||
return cap(r.buf)
|
||||
}
|
||||
|
||||
// ensureBufferSize will ensure that the buffer can take at least n bytes.
|
||||
// If false is returned the buffer exceeds maximum allowed size.
|
||||
func (r *Reader) ensureBufferSize(n int) bool {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue