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

Issue 15832003: Change File.directory to not do any IO (Closed)

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

Description

Change File.directory to not do any IO Removed the File.directory and File.directorySync methods and added a File.directory getter. The File.directory getter does not do any IO, but just calculates the directory of the file from the path. R=whesse@google.com BUG=http://dartbug.com/9926 Committed: https://code.google.com/p/dart/source/detail?r=23349

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+64 lines, -279 lines) Patch
M runtime/bin/builtin_natives.cc View 1 chunk +0 lines, -1 line 0 comments Download
M runtime/bin/file.h View 2 chunks +19 lines, -21 lines 0 comments Download
M runtime/bin/file.cc View 3 chunks +0 lines, -40 lines 0 comments Download
M runtime/bin/file_android.cc View 1 chunk +0 lines, -19 lines 0 comments Download
M runtime/bin/file_linux.cc View 1 chunk +0 lines, -19 lines 0 comments Download
M runtime/bin/file_macos.cc View 1 chunk +0 lines, -19 lines 0 comments Download
M runtime/bin/file_patch.dart View 1 chunk +0 lines, -1 line 0 comments Download
M runtime/bin/file_win.cc View 1 chunk +0 lines, -33 lines 0 comments Download
M sdk/lib/_internal/compiler/implementation/lib/io_patch.dart View 1 chunk +0 lines, -3 lines 0 comments Download
M sdk/lib/io/file.dart View 1 chunk +2 lines, -11 lines 0 comments Download
M sdk/lib/io/file_impl.dart View 2 chunks +22 lines, -41 lines 0 comments Download
M tests/standalone/io/file_error_test.dart View 2 chunks +0 lines, -33 lines 0 comments Download
M tests/standalone/io/file_fuzz_test.dart View 1 chunk +0 lines, -1 line 0 comments Download
M tests/standalone/io/file_non_ascii_sync_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/standalone/io/file_non_ascii_test.dart View 2 chunks +2 lines, -3 lines 0 comments Download
M tests/standalone/io/file_test.dart View 1 chunk +16 lines, -30 lines 0 comments Download
M utils/compiler/create_snapshot.dart View 1 chunk +2 lines, -3 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
Søren Gjesse
7 years, 6 months ago (2013-05-29 11:37:18 UTC) #1
Bill Hesse
LGTM.
7 years, 6 months ago (2013-05-29 11:53:54 UTC) #2
Søren Gjesse
7 years, 6 months ago (2013-05-29 12:38:42 UTC) #3
Message was sent while issue was closed.
Committed patchset #1 manually as r23349 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698