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