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

Side by Side Diff: utils/pub/io.dart

Issue 11647003: Move path ("pathos") to pkg/. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Typo. Created 8 years 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 | « utils/pub/directory_tree.dart ('k') | utils/pub/path.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 /** 5 /**
6 * Helper functionality to make working with IO easier. 6 * Helper functionality to make working with IO easier.
7 */ 7 */
8 library io; 8 library io;
9 9
10 import 'dart:io'; 10 import 'dart:io';
11 import 'dart:isolate'; 11 import 'dart:isolate';
12 import 'dart:json'; 12 import 'dart:json';
13 import 'dart:uri'; 13 import 'dart:uri';
14 14
15 import '../../pkg/path/lib/path.dart' as path;
15 import 'log.dart' as log; 16 import 'log.dart' as log;
16 import 'path.dart' as path;
17 import 'utils.dart'; 17 import 'utils.dart';
18 18
19 bool _isGitInstalledCache; 19 bool _isGitInstalledCache;
20 20
21 /// The cached Git command. 21 /// The cached Git command.
22 String _gitCommandCache; 22 String _gitCommandCache;
23 23
24 final NEWLINE_PATTERN = new RegExp("\r\n?|\n\r?"); 24 final NEWLINE_PATTERN = new RegExp("\r\n?|\n\r?");
25 25
26 /** 26 /**
(...skipping 990 matching lines...) Expand 10 before | Expand all | Expand 10 after
1017 return new Directory(entry); 1017 return new Directory(entry);
1018 } 1018 }
1019 1019
1020 /** 1020 /**
1021 * Gets a [Uri] for [uri], which can either already be one, or be a [String]. 1021 * Gets a [Uri] for [uri], which can either already be one, or be a [String].
1022 */ 1022 */
1023 Uri _getUri(uri) { 1023 Uri _getUri(uri) {
1024 if (uri is Uri) return uri; 1024 if (uri is Uri) return uri;
1025 return new Uri.fromString(uri); 1025 return new Uri.fromString(uri);
1026 } 1026 }
OLDNEW
« no previous file with comments | « utils/pub/directory_tree.dart ('k') | utils/pub/path.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698