diff options
author | dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> | 2021-01-28 09:17:40 +0000 |
---|---|---|
committer | Daniel J Walsh <dwalsh@redhat.com> | 2021-01-28 04:51:57 -0500 |
commit | 75c3b33899954e7a0925426b38fd1084d521c3a0 (patch) | |
tree | ff5dafd9eaedf43c87f0a868a779792492d84539 /vendor/github.com/ulikunitz/xz/format.go | |
parent | 9d59daa7ccaea526a1aa742fadab537e77a51330 (diff) | |
download | podman-75c3b33899954e7a0925426b38fd1084d521c3a0.tar.gz podman-75c3b33899954e7a0925426b38fd1084d521c3a0.tar.bz2 podman-75c3b33899954e7a0925426b38fd1084d521c3a0.zip |
Bump github.com/containers/image/v5 from 5.9.0 to 5.10.0
Bumps [github.com/containers/image/v5](https://github.com/containers/image) from 5.9.0 to 5.10.0.
- [Release notes](https://github.com/containers/image/releases)
- [Commits](https://github.com/containers/image/compare/v5.9.0...v5.10.0)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'vendor/github.com/ulikunitz/xz/format.go')
-rw-r--r-- | vendor/github.com/ulikunitz/xz/format.go | 22 |
1 files changed, 3 insertions, 19 deletions
diff --git a/vendor/github.com/ulikunitz/xz/format.go b/vendor/github.com/ulikunitz/xz/format.go index edfec9a94..84b58c9dd 100644 --- a/vendor/github.com/ulikunitz/xz/format.go +++ b/vendor/github.com/ulikunitz/xz/format.go @@ -47,9 +47,9 @@ const HeaderLen = 12 // Constants for the checksum methods supported by xz. const ( None byte = 0x0 - CRC32 = 0x1 - CRC64 = 0x4 - SHA256 = 0xa + CRC32 byte = 0x1 + CRC64 byte = 0x4 + SHA256 byte = 0xa ) // errInvalidFlags indicates that flags are invalid. @@ -569,22 +569,6 @@ func readFilters(r io.Reader, count int) (filters []filter, err error) { return []filter{f}, err } -// writeFilters writes the filters. -func writeFilters(w io.Writer, filters []filter) (n int, err error) { - for _, f := range filters { - p, err := f.MarshalBinary() - if err != nil { - return n, err - } - k, err := w.Write(p) - n += k - if err != nil { - return n, err - } - } - return n, nil -} - /*** Index ***/ // record describes a block in the xz file index. |