Index: sdk/lib/io/directory.dart |
diff --git a/sdk/lib/io/directory.dart b/sdk/lib/io/directory.dart |
index a7fe5202e485480332d249dce060b33d666ba3ed..3cbf4d50c8d41a4c8ca26b7e6affdffa67473d58 100644 |
--- a/sdk/lib/io/directory.dart |
+++ b/sdk/lib/io/directory.dart |
@@ -109,6 +109,15 @@ abstract class Directory implements FileSystemEntity { |
Directory renameSync(String newPath); |
/** |
+ * Returns a [Directory] 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. |
+ */ |
+ Directory get absolute; |
+ |
+ /** |
* Lists the sub-directories and files of this [Directory]. |
* Optionally recurses into sub-directories. |
* |