Chromium Code Reviews| Index: runtime/bin/file.dart |
| diff --git a/runtime/bin/file.dart b/runtime/bin/file.dart |
| index f55bc302ad7e58cb5144a83e7acc2df0227c70bb..5d399c3f3be272d68d754ac0a9d76ed6544b250a 100644 |
| --- a/runtime/bin/file.dart |
| +++ b/runtime/bin/file.dart |
| @@ -29,6 +29,11 @@ interface File default _File { |
| File(String name); |
| /** |
| + * Create a File object from a Path object. |
| + */ |
| + File.fromPath(Path path); |
| + |
| + /** |
| * Check if the file exists. Does not block and returns a |
| * [:Future<bool>:]. |
| */ |