| 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 part of dart.io; |
| 6 | 6 |
| 7 /** | 7 /** |
| 8 * [Directory] objects are used for working with directories. | 8 * A reference to a directory (or _folder_) on the file system. |
| 9 */ | 9 */ |
| 10 abstract class Directory implements FileSystemEntity { | 10 abstract class Directory implements FileSystemEntity { |
| 11 /** | 11 /** |
| 12 * Creates a directory object. The path is either an absolute path, | 12 * Creates a directory object. The path is either an absolute path, |
| 13 * or it is a relative path which is interpreted relative to the directory | 13 * or it is a relative path which is interpreted relative to the directory |
| 14 * in which the Dart VM was started. | 14 * in which the Dart VM was started. |
| 15 */ | 15 */ |
| 16 factory Directory(String path) => new _Directory(path); | 16 factory Directory(String path) => new _Directory(path); |
| 17 | 17 |
| 18 /** | 18 /** |
| (...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 195 if (path != null) { | 195 if (path != null) { |
| 196 sb.write(", path = $path"); | 196 sb.write(", path = $path"); |
| 197 } | 197 } |
| 198 } | 198 } |
| 199 return sb.toString(); | 199 return sb.toString(); |
| 200 } | 200 } |
| 201 final String message; | 201 final String message; |
| 202 final String path; | 202 final String path; |
| 203 final OSError osError; | 203 final OSError osError; |
| 204 } | 204 } |
| OLD | NEW |