OLD | NEW |
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, 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 * The type of an entity on the file system, such as a file, directory, or link. | 8 * The type of an entity on the file system, such as a file, directory, or link. |
9 * | 9 * |
10 * These constants are used by the [FileSystemEntity] class | 10 * These constants are used by the [FileSystemEntity] class |
11 * to indicate the object's type. | 11 * to indicate the object's type. |
12 * | 12 * |
13 */ | 13 */ |
14 | 14 |
15 class FileSystemEntityType { | 15 class FileSystemEntityType { |
(...skipping 803 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
819 buffer.write(')'); | 819 buffer.write(')'); |
820 return buffer.toString(); | 820 return buffer.toString(); |
821 } | 821 } |
822 } | 822 } |
823 | 823 |
824 class _FileSystemWatcher { | 824 class _FileSystemWatcher { |
825 external static Stream<FileSystemEvent> _watch( | 825 external static Stream<FileSystemEvent> _watch( |
826 String path, int events, bool recursive); | 826 String path, int events, bool recursive); |
827 external static bool get isSupported; | 827 external static bool get isSupported; |
828 } | 828 } |
OLD | NEW |