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

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

Issue 281723004: Fix Directory, File and Link constructor text. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: 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
Index: sdk/lib/io/file.dart
diff --git a/sdk/lib/io/file.dart b/sdk/lib/io/file.dart
index b8df149594e70571482cc81944472bd90ebced54..6facf0b022d4e68f341f08f6aa3b606a69c2ceb3 100644
--- a/sdk/lib/io/file.dart
+++ b/sdk/lib/io/file.dart
@@ -175,7 +175,11 @@ const APPEND = FileMode.APPEND;
*/
abstract class File extends FileSystemEntity {
/**
- * Create a File object.
+ * Creates a [File] object.
+ *
+ * The path is either an absolute path,
+ * or it is a relative path which is interpreted relative to the current
+ * working directory (see [Directory.current]).
*/
factory File(String path) => new _File(path);
« sdk/lib/io/directory.dart ('K') | « sdk/lib/io/directory.dart ('k') | sdk/lib/io/link.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698