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

Issue 8277033: Add exists, create and delete to directory implementation on Linux and Mac. (Closed)

Created:
9 years, 2 months ago by Mads Ager (google)
Modified:
9 years, 2 months ago
Reviewers:
Søren Gjesse
CC:
reviews_dartlang.org, Ivan Posva
Visibility:
Public.

Description

Add exists, create and delete to directory implementation on Linux and Mac. All of the directory implementations on Linux and Mac are identical and uncontroversial. Join the implementations in directory_posix for now. I will split it into the two files again if it becomes necessary. BUG= TEST= Committed: https://code.google.com/p/dart/source/detail?r=432

Patch Set 1 #

Total comments: 4

Patch Set 2 : Implement for Windows and add test #

Patch Set 3 : Rebase #

Patch Set 4 : Fix Windows build. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+207 lines, -449 lines) Patch
M runtime/bin/bin.gypi View 4 chunks +4 lines, -6 lines 0 comments Download
M runtime/bin/builtin_in.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M runtime/bin/directory.h View 2 chunks +12 lines, -0 lines 0 comments Download
M runtime/bin/directory.cc View 2 chunks +38 lines, -1 line 0 comments Download
M runtime/bin/directory.dart View 2 chunks +23 lines, -1 line 0 comments Download
M runtime/bin/directory_impl.dart View 3 chunks +33 lines, -3 lines 0 comments Download
D runtime/bin/directory_linux.cc View 1 chunk +0 lines, -219 lines 0 comments Download
D runtime/bin/directory_macos.cc View 1 chunk +0 lines, -219 lines 0 comments Download
A + runtime/bin/directory_posix.cc View 2 chunks +42 lines, -0 lines 0 comments Download
M runtime/bin/directory_win.cc View 3 chunks +41 lines, -0 lines 0 comments Download
M tests/standalone/src/DirectoryTest.dart View 1 chunk +11 lines, -0 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Mads Ager (google)
Synchronous for now.
9 years, 2 months ago (2011-10-14 10:49:31 UTC) #1
Søren Gjesse
lgtm I suppose you will add some tests later... http://codereview.chromium.org/8277033/diff/1/runtime/bin/directory.cc File runtime/bin/directory.cc (right): http://codereview.chromium.org/8277033/diff/1/runtime/bin/directory.cc#newcode43 runtime/bin/directory.cc:43: ...
9 years, 2 months ago (2011-10-14 11:44:13 UTC) #2
Mads Ager (google)
I implemented for Windows and added a simple test. I will add a recursive directory ...
9 years, 2 months ago (2011-10-14 12:22:53 UTC) #3
Søren Gjesse
9 years, 2 months ago (2011-10-14 12:30:57 UTC) #4
lgtm

Powered by Google App Engine
This is Rietveld 408576698