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

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

Issue 921733002: Update documentation for Platform.version (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Addressed review comments Created 5 years, 10 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | tests/standalone/io/platform_test.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) 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 * Information about the environment in which the current program is running. 8 * Information about the environment in which the current program is running.
9 * 9 *
10 * Platform provides information such as the operating system, 10 * Platform provides information such as the operating system,
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after
166 * Returns the value of the --package-root flag passed to the executable 166 * Returns the value of the --package-root flag passed to the executable
167 * used to run the script in this isolate. This is the directory in which 167 * used to run the script in this isolate. This is the directory in which
168 * Dart packages are looked up. 168 * Dart packages are looked up.
169 * 169 *
170 * If there is no --package-root flag, then the empty string is returned. 170 * If there is no --package-root flag, then the empty string is returned.
171 */ 171 */
172 static String get packageRoot => _Platform.packageRoot; 172 static String get packageRoot => _Platform.packageRoot;
173 173
174 /** 174 /**
175 * Returns the version of the current Dart runtime. 175 * Returns the version of the current Dart runtime.
176 *
177 * The returned `String` is formatted as the
178 * [semver](http://semver.org) version string of the current dart
179 * runtime, possibly followed by whitespace and other version and
180 * build details.
176 */ 181 */
177 static String get version => _version; 182 static String get version => _version;
178 } 183 }
OLDNEW
« no previous file with comments | « no previous file | tests/standalone/io/platform_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698