| 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 | |
| 7 /** | 5 /** |
| 8 * [Directory] objects are used for working with directories. | 6 * [Directory] objects are used for working with directories. |
| 9 */ | 7 */ |
| 10 abstract class Directory { | 8 abstract class Directory { |
| 11 /** | 9 /** |
| 12 * Creates a directory object. The path is either an absolute path, | 10 * 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 | 11 * or it is a relative path which is interpreted relative to the directory |
| 14 * in which the Dart VM was started. | 12 * in which the Dart VM was started. |
| 15 */ | 13 */ |
| 16 factory Directory(String path) => new _Directory(path); | 14 factory Directory(String path) => new _Directory(path); |
| (...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 209 if (path != null) { | 207 if (path != null) { |
| 210 sb.add(", path = $path"); | 208 sb.add(", path = $path"); |
| 211 } | 209 } |
| 212 } | 210 } |
| 213 return sb.toString(); | 211 return sb.toString(); |
| 214 } | 212 } |
| 215 final String message; | 213 final String message; |
| 216 final String path; | 214 final String path; |
| 217 final OSError osError; | 215 final OSError osError; |
| 218 } | 216 } |
| OLD | NEW |