summaryrefslogtreecommitdiff
path: root/vendor/github.com/klauspost/compress/zstd/README.md
diff options
context:
space:
mode:
authorDaniel J Walsh <dwalsh@redhat.com>2020-11-19 13:54:45 -0500
committerDaniel J Walsh <dwalsh@redhat.com>2020-11-19 16:09:53 -0500
commit0bad9f1ad799167d869cdb8749b367d3ef664724 (patch)
treef61cb830e24d91b5394b5e87e77369d263ab0a71 /vendor/github.com/klauspost/compress/zstd/README.md
parenta18365c908d45a8ee9348c5e32a240a7b9a4091b (diff)
downloadpodman-0bad9f1ad799167d869cdb8749b367d3ef664724.tar.gz
podman-0bad9f1ad799167d869cdb8749b367d3ef664724.tar.bz2
podman-0bad9f1ad799167d869cdb8749b367d3ef664724.zip
vendor in containers/storage v1.24.1 containers/image v5.8.1
These vendors fix the handling of homedirs. Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'vendor/github.com/klauspost/compress/zstd/README.md')
-rw-r--r--vendor/github.com/klauspost/compress/zstd/README.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/vendor/github.com/klauspost/compress/zstd/README.md b/vendor/github.com/klauspost/compress/zstd/README.md
index 07f7285f0..08e553f75 100644
--- a/vendor/github.com/klauspost/compress/zstd/README.md
+++ b/vendor/github.com/klauspost/compress/zstd/README.md
@@ -54,11 +54,11 @@ To create a writer with default options, do like this:
```Go
// Compress input to output.
func Compress(in io.Reader, out io.Writer) error {
- w, err := NewWriter(output)
+ enc, err := zstd.NewWriter(out)
if err != nil {
return err
}
- _, err := io.Copy(w, input)
+ _, err = io.Copy(enc, in)
if err != nil {
enc.Close()
return err