| Index: runtime/bin/file.dart
|
| diff --git a/runtime/bin/file.dart b/runtime/bin/file.dart
|
| index d0380a924064df45f4b2aced4be1bb0c58e2ded5..ed177a8bdce30ecc40d71c18a87121afc4dce2ea 100644
|
| --- a/runtime/bin/file.dart
|
| +++ b/runtime/bin/file.dart
|
| @@ -83,6 +83,17 @@ interface File default _File {
|
| Directory directorySync();
|
|
|
| /**
|
| + * Get the length of the file. When the operation completes the
|
| + * callback is called with the length.
|
| + */
|
| + void length(void callback(int length));
|
| +
|
| + /**
|
| + * Synchronously get the length of the file.
|
| + */
|
| + int lengthSync();
|
| +
|
| + /**
|
| * Open the file for random access operations. When the file is
|
| * opened the callback is called with the resulting
|
| * RandomAccessFile. RandomAccessFiles must be closed using the
|
|
|