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

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

Issue 17848003: dart:io | Add rename to Link (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix again Created 7 years, 6 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_win.cc ('k') | sdk/lib/io/file_impl.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/_internal/lib/io_patch.dart
diff --git a/sdk/lib/_internal/lib/io_patch.dart b/sdk/lib/_internal/lib/io_patch.dart
index 4967d9432938d47bf4943db86b3e411d84d0b12f..c56506453a4e7586438c391b9a2e23b2f4fded60 100644
--- a/sdk/lib/_internal/lib/io_patch.dart
+++ b/sdk/lib/_internal/lib/io_patch.dart
@@ -91,7 +91,10 @@ patch class _File {
throw new UnsupportedError("File._deleteLink");
}
patch static _rename(String oldPath, String newPath) {
- throw new UnsupportedError("File._delete");
+ throw new UnsupportedError("File._rename");
+ }
+ patch static _renameLink(String oldPath, String newPath) {
+ throw new UnsupportedError("File._renameLink");
}
patch static _lengthFromPath(String path) {
throw new UnsupportedError("File._lengthFromPath");
« no previous file with comments | « runtime/bin/file_win.cc ('k') | sdk/lib/io/file_impl.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698