Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(204)

Issue 14924006: Add a function to pub for finding the canonical path of a file. (Closed)

Created:
7 years, 7 months ago by nweiz
Modified:
7 years, 7 months ago
Reviewers:
Bob Nystrom
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Add a function to pub for finding the canonical path of a file. This allows listDir to work properly with recursive symlinks on Windows. BUG=7505 R=rnystrom@google.com Committed: https://code.google.com/p/dart/source/detail?r=22477

Patch Set 1 #

Patch Set 2 : typo #

Total comments: 9

Patch Set 3 : Code review changes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+158 lines, -11 lines) Patch
M sdk/lib/_internal/pub/lib/src/io.dart View 1 2 2 chunks +36 lines, -1 line 0 comments Download
M sdk/lib/_internal/pub/lib/src/path_source.dart View 1 chunk +2 lines, -2 lines 0 comments Download
M sdk/lib/_internal/pub/pub.status View 1 2 1 chunk +0 lines, -3 lines 0 comments Download
M sdk/lib/_internal/pub/test/install/path/shared_dependency_symlink_test.dart View 1 chunk +0 lines, -4 lines 0 comments Download
M sdk/lib/_internal/pub/test/io_test.dart View 1 chunk +119 lines, -0 lines 0 comments Download
M sdk/lib/_internal/pub/test/test_pub.dart View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 5 (0 generated)
nweiz
7 years, 7 months ago (2013-05-07 02:10:25 UTC) #1
Bob Nystrom
https://codereview.chromium.org/14924006/diff/3001/sdk/lib/_internal/pub/lib/src/io.dart File sdk/lib/_internal/pub/lib/src/io.dart (right): https://codereview.chromium.org/14924006/diff/3001/sdk/lib/_internal/pub/lib/src/io.dart#newcode52 sdk/lib/_internal/pub/lib/src/io.dart:52: var newPath = components.removeAt(0); A comment explaining how this ...
7 years, 7 months ago (2013-05-07 17:36:14 UTC) #2
nweiz
https://codereview.chromium.org/14924006/diff/3001/sdk/lib/_internal/pub/lib/src/io.dart File sdk/lib/_internal/pub/lib/src/io.dart (right): https://codereview.chromium.org/14924006/diff/3001/sdk/lib/_internal/pub/lib/src/io.dart#newcode52 sdk/lib/_internal/pub/lib/src/io.dart:52: var newPath = components.removeAt(0); On 2013/05/07 17:36:14, Bob Nystrom ...
7 years, 7 months ago (2013-05-07 20:40:15 UTC) #3
Bob Nystrom
I'd still prefer maybe "resolvePath" but otherwise LGTM. https://codereview.chromium.org/14924006/diff/3001/sdk/lib/_internal/pub/lib/src/io.dart File sdk/lib/_internal/pub/lib/src/io.dart (right): https://codereview.chromium.org/14924006/diff/3001/sdk/lib/_internal/pub/lib/src/io.dart#newcode59 sdk/lib/_internal/pub/lib/src/io.dart:59: /// ...
7 years, 7 months ago (2013-05-07 20:43:07 UTC) #4
nweiz
7 years, 7 months ago (2013-05-07 20:55:47 UTC) #5
Message was sent while issue was closed.
Committed patchset #3 manually as r22477 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698