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

Issue 4217045: code review 4217045: godoc: accept symbolic links as path names provided to -path (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years, 2 months ago by gri
Modified:
13 years, 2 months ago
Reviewers:
CC:
r, dsymonds, r2, golang-dev
Visibility:
Public.

Description

godoc: accept symbolic links as path names provided to -path When providing addition file systems to godoc via -path, the path names may be symbolic links. Follow them. Also: better logging of error and special conditions.

Patch Set 1 #

Total comments: 3

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

Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -6 lines) Patch
M src/cmd/godoc/dirtrees.go View 1 3 chunks +18 lines, -3 lines 0 comments Download
M src/cmd/godoc/godoc.go View 1 chunk +4 lines, -3 lines 0 comments Download

Messages

Total messages: 5
gri
Hello r (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://go.googlecode.com/hg/
13 years, 2 months ago (2011-02-24 22:57:45 UTC) #1
dsymonds
Perhaps there could be a path.Indirect function that recursively resolves symlinks? I've stumbled on this ...
13 years, 2 months ago (2011-02-24 23:16:50 UTC) #2
r2
On Feb 24, 2011, at 3:16 PM, David Symonds wrote: > Perhaps there could be ...
13 years, 2 months ago (2011-02-24 23:21:21 UTC) #3
r2
LGTM http://codereview.appspot.com/4217045/diff/1/src/cmd/godoc/dirtrees.go File src/cmd/godoc/dirtrees.go (right): http://codereview.appspot.com/4217045/diff/1/src/cmd/godoc/dirtrees.go#newcode198 src/cmd/godoc/dirtrees.go:198: // It's not uncommon that the root is ...
13 years, 2 months ago (2011-02-25 00:20:44 UTC) #4
gri
13 years, 2 months ago (2011-02-25 00:24:54 UTC) #5
*** Submitted as http://code.google.com/p/go/source/detail?r=a2846f4a9040 ***

godoc: accept symbolic links as path names provided to -path

When providing addition file systems to godoc via -path, the
path names may be symbolic links. Follow them.

Also: better logging of error and special conditions.

R=r, dsymonds, r2
CC=golang-dev
http://codereview.appspot.com/4217045
Sign in to reply to this message.

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