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

Issue 23444037: dart:io | Change File.fullPath to FileSystemEntity.resolveSymbolicLinks. (Closed)

Created:
7 years, 3 months ago by Bill Hesse
Modified:
7 years, 3 months ago
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Visibility:
Public.

Description

dart:io | Change File.fullPath to FileSystemEntity.resolveSymbolicLinks. BUG=dartbug.com/1016 R=sgjesse@google.com Committed: https://code.google.com/p/dart/source/detail?r=27475

Patch Set 1 #

Patch Set 2 : rebase #

Patch Set 3 : Test and fix on Windows #

Total comments: 2

Patch Set 4 : Document resolution of link\.. on Windows. #

Total comments: 17

Patch Set 5 : Move implementation to FileSystemEntity #

Patch Set 6 : Documentation edits. #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+287 lines, -60 lines) Patch
M runtime/bin/builtin_natives.cc View 1 chunk +1 line, -1 line 0 comments Download
M runtime/bin/directory.cc View 1 2 3 4 5 1 chunk +1 line, -0 lines 1 comment Download
M runtime/bin/file.h View 1 chunk +1 line, -1 line 0 comments Download
M runtime/bin/file.cc View 1 2 3 4 3 chunks +4 lines, -4 lines 0 comments Download
M runtime/bin/file_patch.dart View 1 2 3 4 1 chunk +0 lines, -1 line 0 comments Download
M runtime/bin/file_system_entity_patch.dart View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M runtime/bin/file_win.cc View 1 2 1 chunk +37 lines, -7 lines 0 comments Download
M sdk/lib/_internal/lib/io_patch.dart View 1 2 3 4 5 2 chunks +3 lines, -3 lines 0 comments Download
M sdk/lib/io/directory.dart View 1 1 chunk +4 lines, -0 lines 0 comments Download
M sdk/lib/io/file.dart View 1 2 3 4 5 1 chunk +9 lines, -0 lines 0 comments Download
M sdk/lib/io/file_impl.dart View 1 2 3 4 2 chunks +3 lines, -22 lines 0 comments Download
M sdk/lib/io/file_system_entity.dart View 1 2 3 4 3 chunks +64 lines, -1 line 0 comments Download
M sdk/lib/io/link.dart View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
M tests/standalone/io/file_error_test.dart View 2 chunks +9 lines, -9 lines 0 comments Download
M tests/standalone/io/file_test.dart View 1 2 3 4 2 chunks +0 lines, -11 lines 0 comments Download
A tests/standalone/io/resolve_symbolic_links_test.dart View 1 2 3 4 5 1 chunk +145 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
Bill Hesse
https://codereview.chromium.org/23444037/diff/5001/tests/standalone/io/resolve_symbolic_links_test.dart File tests/standalone/io/resolve_symbolic_links_test.dart (right): https://codereview.chromium.org/23444037/diff/5001/tests/standalone/io/resolve_symbolic_links_test.dart#newcode18 tests/standalone/io/resolve_symbolic_links_test.dart:18: 'resolve_symbolic_links_test.dart'))); Violates style guide about putting arguments on one ...
7 years, 3 months ago (2013-09-09 11:55:39 UTC) #1
Anders Johnsen
Overall comments: - What's the long term plan here. I thought that we would remove ...
7 years, 3 months ago (2013-09-09 12:24:48 UTC) #2
Søren Gjesse
lgtm https://codereview.chromium.org/23444037/diff/6001/runtime/bin/file_win.cc File runtime/bin/file_win.cc (right): https://codereview.chromium.org/23444037/diff/6001/runtime/bin/file_win.cc#newcode505 runtime/bin/file_win.cc:505: // Remove leading \\?\ if possible, unless input ...
7 years, 3 months ago (2013-09-11 07:21:00 UTC) #3
Bill Hesse
https://codereview.chromium.org/23444037/diff/6001/runtime/bin/directory.cc File runtime/bin/directory.cc (right): https://codereview.chromium.org/23444037/diff/6001/runtime/bin/directory.cc#newcode295 runtime/bin/directory.cc:295: static CObject* DirectoryResolveSymbolicLinksRequest( On 2013/09/09 12:24:48, Anders Johnsen wrote: ...
7 years, 3 months ago (2013-09-13 06:34:13 UTC) #4
Søren Gjesse
lgtm https://codereview.chromium.org/23444037/diff/17001/runtime/bin/directory.cc File runtime/bin/directory.cc (right): https://codereview.chromium.org/23444037/diff/17001/runtime/bin/directory.cc#newcode8 runtime/bin/directory.cc:8: // #include "bin/file.h" Remove?
7 years, 3 months ago (2013-09-13 06:52:20 UTC) #5
Bill Hesse
Committed patchset #6 manually as r27475 (presubmit successful).
7 years, 3 months ago (2013-09-13 11:15:36 UTC) #6
Bob Nystrom
7 years, 3 months ago (2013-09-13 15:29:10 UTC) #7
Message was sent while issue was closed.
https://codereview.chromium.org/23444037/diff/5001/tests/standalone/io/resolv...
File tests/standalone/io/resolve_symbolic_links_test.dart (right):

https://codereview.chromium.org/23444037/diff/5001/tests/standalone/io/resolv...
tests/standalone/io/resolve_symbolic_links_test.dart:18:
'resolve_symbolic_links_test.dart')));
On 2013/09/09 11:55:39, Bill Hesse wrote:
> Violates style guide about putting arguments on one line or all on
> separatelines, but I think this is better.

What style guide is this?

Powered by Google App Engine
This is Rietveld 408576698