| Index: sdk/lib/io/file.dart
|
| diff --git a/sdk/lib/io/file.dart b/sdk/lib/io/file.dart
|
| index eb3dcd7c8e6f25744b558646e9b0ff1adde0e443..2198dd893da2cfd07f19fb399a36bd09387bf821 100644
|
| --- a/sdk/lib/io/file.dart
|
| +++ b/sdk/lib/io/file.dart
|
| @@ -94,18 +94,9 @@ abstract class File extends FileSystemEntity {
|
|
|
| /**
|
| * Get a [Directory] object for the directory containing this
|
| - * file. Returns a [:Future<Directory>:] that completes with the
|
| - * directory.
|
| - */
|
| - Future<Directory> directory();
|
| -
|
| - /**
|
| - * Synchronously get a [Directory] object for the directory containing
|
| - * this file.
|
| - *
|
| - * Throws a [FileIOException] if the operation fails.
|
| + * file.
|
| */
|
| - Directory directorySync();
|
| + Directory get directory;
|
|
|
| /**
|
| * Get the length of the file. Returns a [:Future<int>:] that
|
|
|