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

Unified Diff: sdk/lib/_internal/compiler/implementation/lib/io_patch.dart

Issue 12850010: Add FileSystemEntity.identical, to test if two file system objects are the same. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Improve posix versions 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
Index: sdk/lib/_internal/compiler/implementation/lib/io_patch.dart
diff --git a/sdk/lib/_internal/compiler/implementation/lib/io_patch.dart b/sdk/lib/_internal/compiler/implementation/lib/io_patch.dart
index 11f095765cd24dd97da58fc1f7dcd13978e84dc7..a0ef33c80f8f79828fe97a2f9185f3d30666d7a0 100644
--- a/sdk/lib/_internal/compiler/implementation/lib/io_patch.dart
+++ b/sdk/lib/_internal/compiler/implementation/lib/io_patch.dart
@@ -57,6 +57,9 @@ patch class FileSystemEntity {
patch static int _getType(String path, bool followLinks) {
throw new UnsupportedError("FileSystemEntity._getType");
}
+ patch static bool _identical(String file1, String file2) {
+ throw new UnsupportedError("FileSystemEntity._getType");
+ }
}
patch class _File {

Powered by Google App Engine
This is Rietveld 408576698