Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(132)

Side by Side Diff: sdk/lib/io/file_system_entity.dart

Issue 1401063004: Fixing many link syntaxes in doc comments (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « sdk/lib/io/file.dart ('k') | sdk/lib/io/http_date.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
190 * 190 *
191 * Here's the exists method in action: 191 * Here's the exists method in action:
192 * 192 *
193 * entity.exists().then((isThere) { 193 * entity.exists().then((isThere) {
194 * isThere ? print('exists') : print('non-existent'); 194 * isThere ? print('exists') : print('non-existent');
195 * }); 195 * });
196 * 196 *
197 * 197 *
198 * ## Other resources 198 * ## Other resources
199 * 199 *
200 * [Dart by Example](https://www.dartlang.org/dart-by-example/#files-directories -and-symlinks) 200 * * [Dart by
201 * provides additional task-oriented code samples that show how to use 201 * Example](https://www.dartlang.org/dart-by-example/#files-directories-and-sy mlinks)
202 * various API from the [Directory] class and the [File] class, 202 * provides additional task-oriented code samples that show how to use various
203 * both subclasses of FileSystemEntity. 203 * API from the [Directory] class and the [File] class, both subclasses of
204 * FileSystemEntity.
204 * 205 *
205 * * [I/O for Command-Line Apps](https://www.dartlang.org/docs/dart-up-and-runni ng/contents/ch03.html#ch03-dartio---file-and-socket-io-for-command-line-apps) 206 * * [I/O for Command-Line
206 * a section from _A Tour of the Dart Libraries_ 207 * Apps](https://www.dartlang.org/docs/dart-up-and-running/ch03.html#dartio--- io-for-command-line-apps),
207 * covers files and directories. 208 * a section from _A Tour of the Dart Libraries_ covers files and directories.
208 * 209 *
209 * * [Write Command-Line Apps](https://www.dartlang.org/docs/tutorials/cmdline/) , 210 * * [Write Command-Line Apps](https://www.dartlang.org/docs/tutorials/cmdline/) ,
210 * a tutorial about writing command-line apps, includes information 211 * a tutorial about writing command-line apps, includes information about
211 * about files and directories. 212 * files and directories.
212
213 */ 213 */
214 abstract class FileSystemEntity { 214 abstract class FileSystemEntity {
215 String get path; 215 String get path;
216 216
217 /** 217 /**
218 * Returns a [Uri] representing the file system entity's location. 218 * Returns a [Uri] representing the file system entity's location.
219 * 219 *
220 * The returned URI's scheme is always "file" if the entity's [path] is 220 * The returned URI's scheme is always "file" if the entity's [path] is
221 * absolute, otherwise the scheme will be empty. 221 * absolute, otherwise the scheme will be empty.
222 */ 222 */
(...skipping 609 matching lines...) Expand 10 before | Expand all | Expand 10 after
832 return buffer.toString(); 832 return buffer.toString();
833 } 833 }
834 } 834 }
835 835
836 836
837 class _FileSystemWatcher { 837 class _FileSystemWatcher {
838 external static Stream<FileSystemEvent> _watch( 838 external static Stream<FileSystemEvent> _watch(
839 String path, int events, bool recursive); 839 String path, int events, bool recursive);
840 external static bool get isSupported; 840 external static bool get isSupported;
841 } 841 }
OLDNEW
« no previous file with comments | « sdk/lib/io/file.dart ('k') | sdk/lib/io/http_date.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698