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

Unified Diff: runtime/bin/directory_patch.dart

Issue 11748017: Add synchronous directory listing to dart:io Directory. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address comments, move tests that fail on Windows due to VM bug 7157 to a separate test file. Created 7 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/bin/directory.cc ('k') | sdk/lib/io/directory.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/directory_patch.dart
diff --git a/runtime/bin/directory_patch.dart b/runtime/bin/directory_patch.dart
index 6d42f8b507ac51b246395e3a5c368cef2d7a9bd3..cb844f7de325806b6d5121b46c98ea80227b3297 100644
--- a/runtime/bin/directory_patch.dart
+++ b/runtime/bin/directory_patch.dart
@@ -11,6 +11,8 @@ patch class _Directory {
native "Directory_Delete";
/* patch */ static _rename(String path, String newPath)
native "Directory_Rename";
+ /* patch */ static List _list(String path, bool recursive)
+ native "Directory_List";
/* patch */ static SendPort _newServicePort()
native "Directory_NewServicePort";
}
« no previous file with comments | « runtime/bin/directory.cc ('k') | sdk/lib/io/directory.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698