| Index: sdk/lib/io/directory.dart
|
| diff --git a/sdk/lib/io/directory.dart b/sdk/lib/io/directory.dart
|
| index 8f54a3928f142b13f8cb6c3026bf886f46542413..fee6dc9871bf9e5a624e0574cfa5e9160abe084b 100644
|
| --- a/sdk/lib/io/directory.dart
|
| +++ b/sdk/lib/io/directory.dart
|
| @@ -16,6 +16,13 @@ abstract class Directory implements FileSystemEntity {
|
| factory Directory(String path) => new _Directory(path);
|
|
|
| /**
|
| + * Create a Directory object from a URI.
|
| + *
|
| + * If [uri] cannot reference a directory this throws [UnsupportedError].
|
| + */
|
| + factory Directory.fromUri(Uri uri) => new Directory(uri.toFilePath());
|
| +
|
| + /**
|
| * Creates a directory object pointing to the current working
|
| * directory.
|
| */
|
|
|