Index: lib/io/directory.dart |
diff --git a/lib/io/directory.dart b/lib/io/directory.dart |
index 740f0cbbd6fb28c25298c7fa41e9203ae945bbba..581170face137956ef41246f38e06fe94da43cee 100644 |
--- a/lib/io/directory.dart |
+++ b/lib/io/directory.dart |
@@ -141,6 +141,12 @@ abstract class Directory { |
/** |
* A [DirectoryLister] represents an actively running listing operation. |
* |
+ * A [DirectoryLister] is obtained from a [Directory] object by calling |
+ * the [:Directory.list:] method. |
+ * |
+ * Directory dir = new Directory('path/to/my/dir'); |
+ * DirectoryLister lister = dir.list(); |
+ * |
* For each file and directory, the file or directory handler is |
* called. When all directories have been listed the done handler is |
* called. If the listing operation is recursive, the error handler is |