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

Unified Diff: sdk/lib/io/file.dart

Issue 23889008: Move delete/deleteSync up to FileSystemEntity, with a shared documentation. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Style fixes. Created 7 years, 3 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 | « sdk/lib/io/directory_impl.dart ('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/io/file.dart
diff --git a/sdk/lib/io/file.dart b/sdk/lib/io/file.dart
index ffcadc72bfce4bc2b7de0b0f4b8459e47a8db084..d5579ca67dfd78aa50eeedf13761db15907b9963 100644
--- a/sdk/lib/io/file.dart
+++ b/sdk/lib/io/file.dart
@@ -60,21 +60,6 @@ abstract class File implements FileSystemEntity {
void createSync();
/**
- * Delete the file. Returns a [:Future<File>:] that completes with
- * the file when it has been deleted. Only a file or a link to a file
- * can be deleted with this method, not a directory or a broken link.
- */
- Future<File> delete();
-
- /**
- * Synchronously delete the file. Only a file or a link to a file
- * can be deleted with this method, not a directory or a broken link.
- *
- * Throws a [FileException] if the operation fails.
- */
- void deleteSync();
-
- /**
* Renames this file. Returns a `Future<File>` that completes
* with a [File] instance for the renamed file.
*
« no previous file with comments | « sdk/lib/io/directory_impl.dart ('k') | sdk/lib/io/file_impl.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698