| 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 #ifndef BIN_DIRECTORY_H_ | 5 #ifndef BIN_DIRECTORY_H_ |
| 6 #define BIN_DIRECTORY_H_ | 6 #define BIN_DIRECTORY_H_ |
| 7 | 7 |
| 8 #include "bin/builtin.h" | 8 #include "bin/builtin.h" |
| 9 #include "platform/globals.h" | 9 #include "platform/globals.h" |
| 10 | 10 |
| (...skipping 14 matching lines...) Expand all Loading... |
| 25 | 25 |
| 26 static ExistsResult Exists(const char* path); | 26 static ExistsResult Exists(const char* path); |
| 27 | 27 |
| 28 static bool Create(const char* path); | 28 static bool Create(const char* path); |
| 29 | 29 |
| 30 static int CreateTemp(const char* const_template, | 30 static int CreateTemp(const char* const_template, |
| 31 char** path, | 31 char** path, |
| 32 char* os_error_message, | 32 char* os_error_message, |
| 33 int os_error_message_len); | 33 int os_error_message_len); |
| 34 | 34 |
| 35 static bool Delete(const char* path); | 35 static bool Delete(const char* path, bool recursive); |
| 36 | 36 |
| 37 DISALLOW_ALLOCATION(); | 37 DISALLOW_ALLOCATION(); |
| 38 DISALLOW_IMPLICIT_CONSTRUCTORS(Directory); | 38 DISALLOW_IMPLICIT_CONSTRUCTORS(Directory); |
| 39 }; | 39 }; |
| 40 | 40 |
| 41 #endif // BIN_DIRECTORY_H_ | 41 #endif // BIN_DIRECTORY_H_ |
| OLD | NEW |