diff options
author | dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> | 2021-08-26 13:21:26 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-26 13:21:26 +0000 |
commit | f5ce02b227f43feb7a02b09890facf198448621e (patch) | |
tree | f7ff84b1f21b6b7a31b166ce8ad77caf0e456b03 /vendor/github.com/vbatts | |
parent | 6f1faf36da9482c1cc99814772d16125fe9a4e36 (diff) | |
download | podman-f5ce02b227f43feb7a02b09890facf198448621e.tar.gz podman-f5ce02b227f43feb7a02b09890facf198448621e.tar.bz2 podman-f5ce02b227f43feb7a02b09890facf198448621e.zip |
Bump github.com/containers/image/v5 from 5.15.2 to 5.16.0
Bumps [github.com/containers/image/v5](https://github.com/containers/image) from 5.15.2 to 5.16.0.
- [Release notes](https://github.com/containers/image/releases)
- [Commits](https://github.com/containers/image/compare/v5.15.2...v5.16.0)
---
updated-dependencies:
- dependency-name: github.com/containers/image/v5
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Diffstat (limited to 'vendor/github.com/vbatts')
-rw-r--r-- | vendor/github.com/vbatts/tar-split/tar/storage/getter.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/vendor/github.com/vbatts/tar-split/tar/storage/getter.go b/vendor/github.com/vbatts/tar-split/tar/storage/getter.go index ae11f8ffd..9fed24aa8 100644 --- a/vendor/github.com/vbatts/tar-split/tar/storage/getter.go +++ b/vendor/github.com/vbatts/tar-split/tar/storage/getter.go @@ -92,11 +92,12 @@ func NewDiscardFilePutter() FilePutter { } type bitBucketFilePutter struct { + buffer [32 * 1024]byte // 32 kB is the buffer size currently used by io.Copy, as of August 2021. } func (bbfp *bitBucketFilePutter) Put(name string, r io.Reader) (int64, []byte, error) { c := crc64.New(CRCTable) - i, err := io.Copy(c, r) + i, err := io.CopyBuffer(c, r, bbfp.buffer[:]) return i, c.Sum(nil), err } |