| 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 * A reference to a directory (or _folder_) on the file system. | 8 * A reference to a directory (or _folder_) on the file system. |
| 9 */ | 9 */ |
| 10 abstract class Directory implements FileSystemEntity { | 10 abstract class Directory extends FileSystemEntity { |
| 11 /** | 11 /** |
| 12 * Gets the path of this directory. | 12 * Gets the path of this directory. |
| 13 */ | 13 */ |
| 14 final String path; | 14 final String path; |
| 15 | 15 |
| 16 /** | 16 /** |
| 17 * Creates a directory object. The path is either an absolute path, | 17 * Creates a directory object. The path is either an absolute path, |
| 18 * or it is a relative path which is interpreted relative to the directory | 18 * or it is a relative path which is interpreted relative to the directory |
| 19 * in which the Dart VM was started. | 19 * in which the Dart VM was started. |
| 20 */ | 20 */ |
| (...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 187 * directories, files, and links. | 187 * directories, files, and links. |
| 188 */ | 188 */ |
| 189 List<FileSystemEntity> listSync({bool recursive: false, | 189 List<FileSystemEntity> listSync({bool recursive: false, |
| 190 bool followLinks: true}); | 190 bool followLinks: true}); |
| 191 | 191 |
| 192 /** | 192 /** |
| 193 * Returns a human readable string for this Directory instance. | 193 * Returns a human readable string for this Directory instance. |
| 194 */ | 194 */ |
| 195 String toString(); | 195 String toString(); |
| 196 } | 196 } |
| OLD | NEW |