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 part of dart_io; | |
6 | 5 |
7 class _Directory implements Directory { | 6 class _Directory implements Directory { |
8 static const CREATE_REQUEST = 0; | 7 static const CREATE_REQUEST = 0; |
9 static const DELETE_REQUEST = 1; | 8 static const DELETE_REQUEST = 1; |
10 static const EXISTS_REQUEST = 2; | 9 static const EXISTS_REQUEST = 2; |
11 static const CREATE_TEMP_REQUEST = 3; | 10 static const CREATE_TEMP_REQUEST = 3; |
12 static const LIST_REQUEST = 4; | 11 static const LIST_REQUEST = 4; |
13 static const RENAME_REQUEST = 5; | 12 static const RENAME_REQUEST = 5; |
14 | 13 |
15 static const SUCCESS_RESPONSE = 0; | 14 static const SUCCESS_RESPONSE = 0; |
(...skipping 322 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
338 } else { | 337 } else { |
339 throw e; | 338 throw e; |
340 } | 339 } |
341 } | 340 } |
342 | 341 |
343 Function _onDir; | 342 Function _onDir; |
344 Function _onFile; | 343 Function _onFile; |
345 Function _onDone; | 344 Function _onDone; |
346 Function _onError; | 345 Function _onError; |
347 } | 346 } |
OLD | NEW |