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

Unified Diff: runtime/bin/file_system_entity_patch.dart

Issue 2220883004: Use metadata annotation @patch for patch classes (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: wip Created 4 years, 4 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
Index: runtime/bin/file_system_entity_patch.dart
diff --git a/runtime/bin/file_system_entity_patch.dart b/runtime/bin/file_system_entity_patch.dart
index 24782aa154f6b03ce01c8706ad6c11e253985b61..dc2b346ffad954fcda8acff5fbff988dd5cef5ce 100644
--- a/runtime/bin/file_system_entity_patch.dart
+++ b/runtime/bin/file_system_entity_patch.dart
@@ -2,16 +2,16 @@
// 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.
-patch class FileStat {
- /* patch */ static _statSync(String path) native "File_Stat";
+@patch class FileStat {
+ /* @patch */ static _statSync(String path) native "File_Stat";
}
-patch class FileSystemEntity {
- /* patch */ static _getType(String path, bool followLinks)
+@patch class FileSystemEntity {
+ /* @patch */ static _getType(String path, bool followLinks)
native "File_GetType";
- /* patch */ static _identical(String path1, String path2)
+ /* @patch */ static _identical(String path1, String path2)
native "File_AreIdentical";
- /* patch */ static _resolveSymbolicLinks(String path)
+ /* @patch */ static _resolveSymbolicLinks(String path)
native "File_ResolveSymbolicLinks";
}

Powered by Google App Engine
This is Rietveld 408576698