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

Side by Side Diff: sdk/lib/io/file.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/directory.dart ('k') | sdk/lib/io/file_system_entity.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 modes in which a File can be opened. 8 * The modes in which a File can be opened.
9 */ 9 */
10 class FileMode { 10 class FileMode {
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after
177 * print(len); 177 * print(len);
178 * }); 178 * });
179 * } 179 * }
180 * 180 *
181 * In addition to length, the [exists], [lastModified], [stat], and 181 * In addition to length, the [exists], [lastModified], [stat], and
182 * other methods, return Futures. 182 * other methods, return Futures.
183 * 183 *
184 * ## Other resources 184 * ## Other resources
185 * 185 *
186 * * [Dart by Example](https://www.dartlang.org/dart-by-example/#files-directori es-and-symlinks) 186 * * [Dart by Example](https://www.dartlang.org/dart-by-example/#files-directori es-and-symlinks)
187 * provides additional task-oriented code samples that show how to use 187 * provides additional task-oriented code samples that show how to use
188 * various API from the Directory class and the related [File] class. 188 * various API from the Directory class and the related [File] class.
189 * 189 *
190 * * [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) 190 * * [I/O for Command-Line
191 * a section from _A Tour of the Dart Libraries_ 191 * Apps](https://www.dartlang.org/docs/dart-up-and-running/ch03.html#dartio--- io-for-command-line-apps)
192 * covers files and directories. 192 * a section from _A Tour of the Dart Libraries_ covers files and directories.
193 * 193 *
194 * * [Write Command-Line Apps](https://www.dartlang.org/docs/tutorials/cmdline/) , 194 * * [Write Command-Line Apps](https://www.dartlang.org/docs/tutorials/cmdline/) ,
195 * a tutorial about writing command-line apps, includes information 195 * a tutorial about writing command-line apps, includes information about
196 * about files and directories. 196 * files and directories.
197
198 */ 197 */
199 abstract class File implements FileSystemEntity { 198 abstract class File implements FileSystemEntity {
200 /** 199 /**
201 * Creates a [File] object. 200 * Creates a [File] object.
202 * 201 *
203 * If [path] is a relative path, it will be interpreted relative to the 202 * If [path] is a relative path, it will be interpreted relative to the
204 * current working directory (see [Directory.current]), when used. 203 * current working directory (see [Directory.current]), when used.
205 * 204 *
206 * If [path] is an absolute path, it will be immune to changes to the 205 * If [path] is an absolute path, it will be immune to changes to the
207 * current working directory. 206 * current working directory.
(...skipping 668 matching lines...) Expand 10 before | Expand all | Expand 10 after
876 sb.write(": $osError"); 875 sb.write(": $osError");
877 if (path != null) { 876 if (path != null) {
878 sb.write(", path = '$path'"); 877 sb.write(", path = '$path'");
879 } 878 }
880 } else if (path != null) { 879 } else if (path != null) {
881 sb.write(": $path"); 880 sb.write(": $path");
882 } 881 }
883 return sb.toString(); 882 return sb.toString();
884 } 883 }
885 } 884 }
OLDNEW
« no previous file with comments | « sdk/lib/io/directory.dart ('k') | sdk/lib/io/file_system_entity.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698