Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(270)

Issue 4372047: code review 4372047: archive/zip: add new type ReadCloser, make OpenReader r... (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
14 years, 1 month ago by dchest
Modified:
14 years, 1 month ago
Reviewers:
CC:
adg, rsc, golang-dev
Visibility:
Public.

Description

archive/zip: add new type ReadCloser, make OpenReader return it. Fixes issue 1678.

Patch Set 1 #

Patch Set 2 : diff -r 8b55e8fccd53 https://go.googlecode.com/hg/ #

Patch Set 3 : diff -r 8b55e8fccd53 https://go.googlecode.com/hg/ #

Total comments: 4

Patch Set 4 : diff -r 8b55e8fccd53 https://go.googlecode.com/hg/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+40 lines, -12 lines) Patch
M src/pkg/archive/zip/reader.go View 1 2 3 2 chunks +34 lines, -12 lines 0 comments Download
M src/pkg/archive/zip/reader_test.go View 1 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 7
dchest
Hello adg, rsc (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://go.googlecode.com/hg/
14 years, 1 month ago (2011-04-08 14:17:51 UTC) #1
dchest
Some alternative approaches: * Make OpenReader return three values: Reader, os.File, os.Error. * Add reference ...
14 years, 1 month ago (2011-04-08 14:20:02 UTC) #2
rsc
With the changes below, LGTM. Leaving for adg. http://codereview.appspot.com/4372047/diff/5001/src/pkg/archive/zip/reader.go File src/pkg/archive/zip/reader.go (right): http://codereview.appspot.com/4372047/diff/5001/src/pkg/archive/zip/reader.go#newcode65 src/pkg/archive/zip/reader.go:65: r, ...
14 years, 1 month ago (2011-04-08 14:22:49 UTC) #3
dchest
Hello adg, rsc (cc: golang-dev@googlegroups.com), Please take another look.
14 years, 1 month ago (2011-04-08 14:43:23 UTC) #4
dchest
http://codereview.appspot.com/4372047/diff/5001/src/pkg/archive/zip/reader.go File src/pkg/archive/zip/reader.go (right): http://codereview.appspot.com/4372047/diff/5001/src/pkg/archive/zip/reader.go#newcode65 src/pkg/archive/zip/reader.go:65: r, err := NewReader(f, fi.Size) On 2011/04/08 14:22:49, rsc ...
14 years, 1 month ago (2011-04-08 14:44:27 UTC) #5
adg
LGTM Thanks.
14 years, 1 month ago (2011-04-10 01:23:27 UTC) #6
adg
14 years, 1 month ago (2011-04-10 01:23:51 UTC) #7
*** Submitted as http://code.google.com/p/go/source/detail?r=872404d61597 ***

archive/zip: add new type ReadCloser, make OpenReader return it.
Fixes issue 1678.

R=adg, rsc
CC=golang-dev
http://codereview.appspot.com/4372047

Committer: Andrew Gerrand <adg@golang.org>
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b