Index: sdk/lib/io/file.dart |
diff --git a/sdk/lib/io/file.dart b/sdk/lib/io/file.dart |
index d5579ca67dfd78aa50eeedf13761db15907b9963..4f9d3f5171e090fc947d24ca5cb58fc5868f3af9 100644 |
--- a/sdk/lib/io/file.dart |
+++ b/sdk/lib/io/file.dart |
@@ -99,6 +99,15 @@ abstract class File implements FileSystemEntity { |
int lengthSync(); |
/** |
+ * Returns a [File] instance whose path is the absolute path to [this]. |
+ * |
+ * The absolute path is computed by prefixing |
+ * a relative path with the current working directory, and returning |
+ * an absolute path unchanged. |
+ */ |
+ File get absolute; |
+ |
+ /** |
* Get the last-modified time of the file. Returns a |
* [:Future<DateTime>:] that completes with a [DateTime] object for the |
* modification date. |