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 * A Directory instance is an object holding a [path] on which operations can | 10 * A Directory instance is an object holding a [path] on which operations can |
11 * be performed. The path to the directory can be [absolute] or relative. | 11 * be performed. The path to the directory can be [absolute] or relative. |
12 * You can get the parent directory using the getter [parent], | 12 * You can get the parent directory using the getter [parent], |
13 * a property inherited from [FileSystemEntity]. | 13 * a property inherited from [FileSystemEntity]. |
14 * | 14 * |
15 * In addition to being used as an instance to access the file system, | 15 * In addition to being used as an instance to access the file system, |
(...skipping 288 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
304 * directories, files, and links. | 304 * directories, files, and links. |
305 */ | 305 */ |
306 List<FileSystemEntity> listSync( | 306 List<FileSystemEntity> listSync( |
307 {bool recursive: false, bool followLinks: true}); | 307 {bool recursive: false, bool followLinks: true}); |
308 | 308 |
309 /** | 309 /** |
310 * Returns a human readable string for this Directory instance. | 310 * Returns a human readable string for this Directory instance. |
311 */ | 311 */ |
312 String toString(); | 312 String toString(); |
313 } | 313 } |
OLD | NEW |