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

Unified Diff: runtime/bin/file_system_entity_patch.dart

Issue 12533008: dart:io | Add FileSystemEntity.typeSync to test for symbolic links. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address comments. Created 7 years, 9 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/file_macos.cc ('k') | runtime/bin/file_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/file_system_entity_patch.dart
diff --git a/tests/lib/async/deferred/deferred_api_library.dart b/runtime/bin/file_system_entity_patch.dart
similarity index 63%
copy from tests/lib/async/deferred/deferred_api_library.dart
copy to runtime/bin/file_system_entity_patch.dart
index b59077065dc8212ef534fa68b211f0e705126ff7..267ab1b5fb94ab2b265c55b46fc0bbe5f80a7451 100644
--- a/tests/lib/async/deferred/deferred_api_library.dart
+++ b/runtime/bin/file_system_entity_patch.dart
@@ -2,11 +2,7 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-// Imported by deferred_api_test.dart.
-
-library deferred_api_library;
-
-foo(x) {
- print('foo($x)');
- return 42;
+patch class FileSystemEntity {
+ /* patch */ static int _getType(String path, bool followLinks)
+ native "File_GetType";
}
« no previous file with comments | « runtime/bin/file_macos.cc ('k') | runtime/bin/file_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698