| 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 * The [Platform] class exposes details of the machine and operating | 8 * The [Platform] class exposes details of the machine and operating |
| 9 * system. | 9 * system. |
| 10 */ | 10 */ |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 */ | 26 */ |
| 27 static String get operatingSystem => _Platform.operatingSystem; | 27 static String get operatingSystem => _Platform.operatingSystem; |
| 28 | 28 |
| 29 /** | 29 /** |
| 30 * Get the local hostname for the system. | 30 * Get the local hostname for the system. |
| 31 */ | 31 */ |
| 32 static String get localHostname => _Platform.localHostname; | 32 static String get localHostname => _Platform.localHostname; |
| 33 | 33 |
| 34 /** | 34 /** |
| 35 * Get the environment for this process. | 35 * Get the environment for this process. |
| 36 * |
| 37 * Environment variables on Windows are case-insensitive. The map |
| 38 * returned on Windows is therefore case-insensitive and will convert |
| 39 * all keys to upper case. On other platforms the returned map is |
| 40 * a standard case-sensitive map. |
| 36 */ | 41 */ |
| 37 static Map<String, String> get environment => _Platform.environment; | 42 static Map<String, String> get environment => _Platform.environment; |
| 38 } | 43 } |
| OLD | NEW |