Index: sdk/lib/io/file.dart |
diff --git a/sdk/lib/io/file.dart b/sdk/lib/io/file.dart |
index b8df149594e70571482cc81944472bd90ebced54..979d6f607e73c7a0a2352c0dcd7a9fb589b96905 100644 |
--- a/sdk/lib/io/file.dart |
+++ b/sdk/lib/io/file.dart |
@@ -175,7 +175,13 @@ const APPEND = FileMode.APPEND; |
*/ |
abstract class File extends FileSystemEntity { |
/** |
- * Create a File object. |
+ * Creates a [File] 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 File(String path) => new _File(path); |