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

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

Issue 281723004: Fix Directory, File and Link constructor text. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: review Created 6 years, 7 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 | « no previous file | sdk/lib/io/file.dart » ('j') | no next file with comments »
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 e977d2fe86b0cf2966c6f498b179f77e69ab72ba..eecaa685996621db16f8a1b3b1306f95bd4c2de0 100644
--- a/sdk/lib/io/directory.dart
+++ b/sdk/lib/io/directory.dart
@@ -118,9 +118,13 @@ abstract class Directory extends FileSystemEntity {
final String path;
/**
- * Creates a directory object. The path is either an absolute path,
- * or it is a relative path which is interpreted relative to the directory
- * in which the Dart VM was started.
+ * Creates a [Directory] object.
+ *
+ * If [path] is a relative path, it will be interpreted relative to the
+ * current working directory (see [Directory.current]), when used.
+ *
+ * If [path] is an absolute path, it will be immune to changes to the
+ * current working directory.
*/
factory Directory(String path) => new _Directory(path);
« no previous file with comments | « no previous file | sdk/lib/io/file.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698