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

Issue 26001002: dart:io | Add FileSystemEntity.parent, make File.directory call it. (Closed)

Created:
7 years, 2 months ago by Bill Hesse
Modified:
7 years, 2 months ago
Reviewers:
Søren Gjesse
CC:
reviews_dartlang.org
Visibility:
Public.

Description

dart:io | Add FileSystemEntity.parent, make File.directory call it. BUG= R=sgjesse@google.com Committed: https://code.google.com/p/dart/source/detail?r=28986

Patch Set 1 #

Patch Set 2 : #Fix handling of c:\ and /foo/bar// #

Patch Set 3 : Fix type error on previous CL. #

Total comments: 2

Patch Set 4 : Deprecate File.directory. #

Patch Set 5 : Add tests. #

Patch Set 6 : Fix Windows tests. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+180 lines, -11 lines) Patch
M sdk/lib/io/file.dart View 1 2 3 1 chunk +3 lines, -1 line 0 comments Download
M sdk/lib/io/file_impl.dart View 1 2 3 4 1 chunk +1 line, -4 lines 0 comments Download
M sdk/lib/io/file_system_entity.dart View 1 2 3 4 2 chunks +49 lines, -6 lines 0 comments Download
A tests/standalone/io/parent_test.dart View 1 2 3 4 5 1 chunk +127 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
Bill Hesse
7 years, 2 months ago (2013-10-04 11:33:37 UTC) #1
Søren Gjesse
Shouldn't there be some tests for Directory and Link? Deprecate File.directory? https://codereview.chromium.org/26001002/diff/5001/sdk/lib/io/file_system_entity.dart File sdk/lib/io/file_system_entity.dart (right): ...
7 years, 2 months ago (2013-10-04 12:20:15 UTC) #2
Bill Hesse
Deprecated File.directory. https://codereview.chromium.org/26001002/diff/5001/sdk/lib/io/file_system_entity.dart File sdk/lib/io/file_system_entity.dart (right): https://codereview.chromium.org/26001002/diff/5001/sdk/lib/io/file_system_entity.dart#newcode537 sdk/lib/io/file_system_entity.dart:537: Directory get parent { On 2013/10/04 12:20:16, ...
7 years, 2 months ago (2013-10-04 12:41:05 UTC) #3
Bill Hesse
Issue 13828 filed (https://code.google.com/p/dart/issues/detail?id=13828) for adding tests to Directory and Link.
7 years, 2 months ago (2013-10-04 12:49:24 UTC) #4
Bill Hesse
Tests added, code improved. PTAL.
7 years, 2 months ago (2013-10-22 07:03:22 UTC) #5
Søren Gjesse
lgtm
7 years, 2 months ago (2013-10-22 07:12:07 UTC) #6
Bill Hesse
7 years, 2 months ago (2013-10-22 07:32:14 UTC) #7
Message was sent while issue was closed.
Committed patchset #6 manually as r28986 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698