diff options
| author | Rob Pike <r@golang.org> | 2010-05-07 14:32:34 -0700 |
|---|---|---|
| committer | Rob Pike <r@golang.org> | 2010-05-07 14:32:34 -0700 |
| commit | f023e859cf5a74e2d0b0e4fadb0ae7fd9732d9f9 (patch) | |
| tree | 5cc9725499d7a30e82d914bc748c84b109ea1aee /src/pkg/patch/git.go | |
| parent | b541921b66a57b887efcf4a696835b4917de85d5 (diff) | |
| download | go-f023e859cf5a74e2d0b0e4fadb0ae7fd9732d9f9.tar.xz | |
compress: renamings.
NewDeflater -> NewWriter
NewInflater -> NewReader
Deflater -> Compressor
Inflater -> Decompressor
R=rsc
CC=golang-dev
https://golang.org/cl/1166041
Diffstat (limited to 'src/pkg/patch/git.go')
| -rw-r--r-- | src/pkg/patch/git.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/patch/git.go b/src/pkg/patch/git.go index f366a3e058..3c70d8ced2 100644 --- a/src/pkg/patch/git.go +++ b/src/pkg/patch/git.go @@ -91,7 +91,7 @@ func ParseGitBinary(raw []byte) (Diff, os.Error) { if n, _, ok := atoi(first, "literal ", 10); ok && sawBinary { data := make([]byte, n) d := git85.NewDecoder(bytes.NewBuffer(raw)) - z, err := zlib.NewInflater(d) + z, err := zlib.NewReader(d) if err != nil { return nil, err } |
