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

Issue 4981049: code review 4981049: path/filepath: added Rel as the complement of Abs (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 7 months ago by niemeyer
Modified:
12 years, 6 months ago
Reviewers:
CC:
golang-dev, rsc, gustavo_niemeyer.net, r, borman
Visibility:
Public.

Description

path/filepath: added Rel as the complement of Abs

Patch Set 1 #

Patch Set 2 : code review 4981049: path/filepath: added Rel as the complement of Abs #

Patch Set 3 : code review 4981049: path/filepath: added Rel as the complement of Abs #

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

Patch Set 5 : diff -r caf49f4768af https://go.googlecode.com/hg/ #

Patch Set 6 : diff -r caf49f4768af https://go.googlecode.com/hg/ #

Patch Set 7 : diff -r caf49f4768af https://go.googlecode.com/hg/ #

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

Patch Set 9 : diff -r fea6f66b47da https://go.googlecode.com/hg/ #

Patch Set 10 : diff -r fea6f66b47da https://go.googlecode.com/hg/ #

Patch Set 11 : diff -r fea6f66b47da https://go.googlecode.com/hg/ #

Total comments: 12

Patch Set 12 : diff -r fea6f66b47da https://go.googlecode.com/hg/ #

Total comments: 4

Patch Set 13 : diff -r 0321ea4c243f https://go.googlecode.com/hg/ #

Patch Set 14 : diff -r 0321ea4c243f https://go.googlecode.com/hg/ #

Patch Set 15 : diff -r 0321ea4c243f https://go.googlecode.com/hg/ #

Patch Set 16 : diff -r 0321ea4c243f https://go.googlecode.com/hg/ #

Patch Set 17 : diff -r 0321ea4c243f https://go.googlecode.com/hg/ #

Patch Set 18 : diff -r 6aa111bd2d11 https://go.googlecode.com/hg/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+148 lines, -6 lines) Patch
M src/pkg/path/filepath/path.go View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +69 lines, -0 lines 0 comments Download
M src/pkg/path/filepath/path_test.go View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 3 chunks +79 lines, -6 lines 0 comments Download

Messages

Total messages: 29
niemeyer
Hello golang-dev@googlegroups.com (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://go.googlecode.com/hg/
12 years, 7 months ago (2011-09-08 22:35:34 UTC) #1
niemeyer
Hello golang-dev@googlegroups.com (cc: golang-dev@googlegroups.com), Please take another look.
12 years, 7 months ago (2011-09-08 22:37:52 UTC) #2
rsc
I am pretty sure adg wrote this code once before and we argued against it. ...
12 years, 7 months ago (2011-09-09 00:06:48 UTC) #3
gustavo_niemeyer.net
> I am pretty sure adg wrote this code once > before and we argued ...
12 years, 7 months ago (2011-09-09 00:29:16 UTC) #4
r
obvious to whom and useful for what? i cannot remember ever needing this functionality. -rob
12 years, 7 months ago (2011-09-09 00:54:42 UTC) #5
gustavo_niemeyer.net
> obvious to whom Anything obvious is _always_ obvious to the subject only. You can ...
12 years, 7 months ago (2011-09-09 01:07:02 UTC) #6
r
I still don't see the obviousness and utility, but I'll leave those aside. Calling Abs ...
12 years, 7 months ago (2011-09-09 01:14:18 UTC) #7
gustavo_niemeyer.net
> Calling Abs on both paths is not an implementation I'm happy with: two > ...
12 years, 7 months ago (2011-09-09 01:20:01 UTC) #8
r
I don't see why the "root" should be absolute or not; the relativization should be ...
12 years, 7 months ago (2011-09-09 03:20:54 UTC) #9
gustavo_niemeyer.net
> I don't see why the "root" should be absolute or not; the > relativization ...
12 years, 7 months ago (2011-09-09 03:54:21 UTC) #10
rsc
What is the context where you'd use this? I'd love to see a purely lexical ...
12 years, 7 months ago (2011-09-09 04:42:05 UTC) #11
gustavo_niemeyer.net
> What is the context where you'd use this? > > I'd love to see ...
12 years, 7 months ago (2011-09-09 14:31:15 UTC) #12
rsc
None of these seem like terribly compelling reasons. If filepath's Walk doc gets updated to ...
12 years, 7 months ago (2011-09-09 14:40:28 UTC) #13
rsc
On Fri, Sep 9, 2011 at 10:40, Russ Cox <rsc@golang.org> wrote: > None of these ...
12 years, 7 months ago (2011-09-09 14:42:06 UTC) #14
gustavo_niemeyer.net
> Assuming that Rel is a consistent operation > is a recipe for trouble on ...
12 years, 7 months ago (2011-09-09 14:46:59 UTC) #15
borman
On Fri, Sep 9, 2011 at 7:30 AM, Gustavo Niemeyer <gustavo@niemeyer.net>wrote: > 2) Converting an ...
12 years, 7 months ago (2011-09-09 15:48:04 UTC) #16
niemeyer
Hello golang-dev@googlegroups.com, rsc@golang.org, gustavo@niemeyer.net, r@golang.org, borman@google.com (cc: golang-dev@googlegroups.com), Please take another look.
12 years, 7 months ago (2011-09-19 23:50:01 UTC) #17
niemeyer
Sorry, must complement the doc. Just a moment.
12 years, 7 months ago (2011-09-19 23:51:06 UTC) #18
niemeyer
Hello golang-dev@googlegroups.com, rsc@golang.org, gustavo@niemeyer.net, r@golang.org, borman@google.com (cc: golang-dev@googlegroups.com), Please take another look.
12 years, 7 months ago (2011-09-20 00:01:15 UTC) #19
r
http://codereview.appspot.com/4981049/diff/25001/src/pkg/path/filepath/path.go File src/pkg/path/filepath/path.go (right): http://codereview.appspot.com/4981049/diff/25001/src/pkg/path/filepath/path.go#newcode262 src/pkg/path/filepath/path.go:262: // be equivalent to path itself. probably want to ...
12 years, 7 months ago (2011-09-21 21:33:34 UTC) #20
niemeyer
PTAL http://codereview.appspot.com/4981049/diff/25001/src/pkg/path/filepath/path.go File src/pkg/path/filepath/path.go (right): http://codereview.appspot.com/4981049/diff/25001/src/pkg/path/filepath/path.go#newcode262 src/pkg/path/filepath/path.go:262: // be equivalent to path itself. > probably ...
12 years, 7 months ago (2011-09-22 03:38:36 UTC) #21
niemeyer
ping
12 years, 6 months ago (2011-10-03 13:41:57 UTC) #22
r
lots of allocation in the ../ case. i think some refactoring could help, but it's ...
12 years, 6 months ago (2011-10-03 19:53:47 UTC) #23
niemeyer
> lots of allocation in the ../ case. i think > some refactoring could help, ...
12 years, 6 months ago (2011-10-04 00:59:34 UTC) #24
niemeyer
Hello golang-dev@googlegroups.com, rsc@golang.org, gustavo@niemeyer.net, r@golang.org, borman@google.com (cc: golang-dev@googlegroups.com), Please take another look.
12 years, 6 months ago (2011-10-04 01:00:36 UTC) #25
r
LGTM thanks for bearing with me
12 years, 6 months ago (2011-10-04 02:45:00 UTC) #26
niemeyer
*** Submitted as http://code.google.com/p/go/source/detail?r=110dde956bd9 *** path/filepath: added Rel as the complement of Abs R=golang-dev, rsc, ...
12 years, 6 months ago (2011-10-04 14:27:15 UTC) #27
niemeyer
> LGTM > thanks for bearing with me Thanks for the patience as well, Rob. ...
12 years, 6 months ago (2011-10-04 14:37:09 UTC) #28
r
12 years, 6 months ago (2011-10-04 14:58:08 UTC) #29
LGTM
Sign in to reply to this message.

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