OLD | NEW |
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 patch class _Directory { | 5 patch class _Directory { |
6 /* patch */ static String _current() native "Directory_Current"; | 6 /* patch */ static String _current() native "Directory_Current"; |
| 7 /* patch */ static _setCurrent(String path) native "Directory_SetCurrent"; |
7 /* patch */ static _createTemp(String template) native "Directory_CreateTemp"; | 8 /* patch */ static _createTemp(String template) native "Directory_CreateTemp"; |
8 /* patch */ static int _exists(String path) native "Directory_Exists"; | 9 /* patch */ static int _exists(String path) native "Directory_Exists"; |
9 /* patch */ static _create(String path) native "Directory_Create"; | 10 /* patch */ static _create(String path) native "Directory_Create"; |
10 /* patch */ static _delete(String path, bool recursive) | 11 /* patch */ static _delete(String path, bool recursive) |
11 native "Directory_Delete"; | 12 native "Directory_Delete"; |
12 /* patch */ static _rename(String path, String newPath) | 13 /* patch */ static _rename(String path, String newPath) |
13 native "Directory_Rename"; | 14 native "Directory_Rename"; |
14 /* patch */ static List _list(String path, bool recursive, bool followLinks) | 15 /* patch */ static List _list(String path, bool recursive, bool followLinks) |
15 native "Directory_List"; | 16 native "Directory_List"; |
16 /* patch */ static SendPort _newServicePort() | 17 /* patch */ static SendPort _newServicePort() |
17 native "Directory_NewServicePort"; | 18 native "Directory_NewServicePort"; |
18 } | 19 } |
OLD | NEW |