OLD | NEW |
---|---|
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
Ivan Posva
2012/01/10 00:28:09
.
Mads Ager (google)
2012/01/10 06:55:05
Done.
| |
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 | |
10 #include "platform/globals.h" | 9 #include "platform/globals.h" |
11 | 10 |
12 class Directory { | 11 class Directory { |
13 public: | 12 public: |
14 enum ExistsResult { | 13 enum ExistsResult { |
15 UNKNOWN, | 14 UNKNOWN, |
16 EXISTS, | 15 EXISTS, |
17 DOES_NOT_EXIST | 16 DOES_NOT_EXIST |
18 }; | 17 }; |
19 | 18 |
(...skipping 13 matching lines...) Expand all Loading... | |
33 char* os_error_message, | 32 char* os_error_message, |
34 int os_error_message_len); | 33 int os_error_message_len); |
35 | 34 |
36 static bool Delete(const char* path); | 35 static bool Delete(const char* path); |
37 | 36 |
38 DISALLOW_ALLOCATION(); | 37 DISALLOW_ALLOCATION(); |
39 DISALLOW_IMPLICIT_CONSTRUCTORS(Directory); | 38 DISALLOW_IMPLICIT_CONSTRUCTORS(Directory); |
40 }; | 39 }; |
41 | 40 |
42 #endif // BIN_DIRECTORY_H_ | 41 #endif // BIN_DIRECTORY_H_ |
OLD | NEW |