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

Unified Diff: sdk/lib/io/directory.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
« no previous file with comments | « no previous file | sdk/lib/io/directory_impl.dart » ('j') | sdk/lib/io/directory_impl.dart » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/io/directory.dart
diff --git a/sdk/lib/io/directory.dart b/sdk/lib/io/directory.dart
index bdc73332dfb7c08687de21da42c0e51471a5da5c..42411ac712801b1d398e37009488cf69667dab92 100644
--- a/sdk/lib/io/directory.dart
+++ b/sdk/lib/io/directory.dart
@@ -140,6 +140,11 @@ abstract class Directory {
DirectoryLister list({bool recursive: false});
/**
+ * Returns a human readable string for this Directory instance.
+ */
+ String toString();
+
+ /**
* Gets the path of this directory.
*/
final String path;
« no previous file with comments | « no previous file | sdk/lib/io/directory_impl.dart » ('j') | sdk/lib/io/directory_impl.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698