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

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

Issue 11578048: Make Platform.environment case-insensitive on Windows. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 12 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 | sdk/lib/io/platform_impl.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 * 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
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 }
OLDNEW
« no previous file with comments | « no previous file | sdk/lib/io/platform_impl.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698