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

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

Issue 11661003: Implement toString on File and Directory objects. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years 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/io/file.dart
diff --git a/sdk/lib/io/file.dart b/sdk/lib/io/file.dart
index 6ae896f180975d726c8100803b822feb80398a90..b094122e7edc6a377114eb942d74fd4daa07949c 100644
--- a/sdk/lib/io/file.dart
+++ b/sdk/lib/io/file.dart
@@ -428,6 +428,11 @@ abstract class RandomAccessFile {
void flushSync();
/**
+ * Returns a human readable string for this File instance.
+ */
+ String toString();
+
+ /**
* Get the name of the file.
*/
String get name;

Powered by Google App Engine
This is Rietveld 408576698