OLD | NEW |
(Empty) | |
| 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 |
| 3 // BSD-style license that can be found in the LICENSE file. |
| 4 |
| 5 patch class _Directory { |
| 6 /* patch */ static String _current() native "Directory_Current"; |
| 7 /* patch */ static _createTemp(String template) native "Directory_CreateTemp"; |
| 8 /* patch */ static int _exists(String path) native "Directory_Exists"; |
| 9 /* patch */ static _create(String path) native "Directory_Create"; |
| 10 /* patch */ static _delete(String path, bool recursive) |
| 11 native "Directory_Delete"; |
| 12 /* patch */ static _rename(String path, String newPath) |
| 13 native "Directory_Rename"; |
| 14 /* patch */ static SendPort _newServicePort() |
| 15 native "Directory_NewServicePort"; |
| 16 } |
OLD | NEW |