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

Side by Side Diff: sdk/lib/_internal/pub/lib/src/io.dart

Issue 18356011: Rename "pathos" package to "path". (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 5 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
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 /// Helper functionality to make working with IO easier. 5 /// Helper functionality to make working with IO easier.
6 library pub.io; 6 library pub.io;
7 7
8 import 'dart:async'; 8 import 'dart:async';
9 import 'dart:collection'; 9 import 'dart:collection';
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 13
14 import 'package:pathos/path.dart' as path; 14 import 'package:path/path.dart' as path;
15 import 'package:http/http.dart' show ByteStream; 15 import 'package:http/http.dart' show ByteStream;
16 import 'error_group.dart'; 16 import 'error_group.dart';
17 import 'exit_codes.dart' as exit_codes; 17 import 'exit_codes.dart' as exit_codes;
18 import 'log.dart' as log; 18 import 'log.dart' as log;
19 import 'sdk.dart' as sdk; 19 import 'sdk.dart' as sdk;
20 import 'utils.dart'; 20 import 'utils.dart';
21 21
22 export 'package:http/http.dart' show ByteStream; 22 export 'package:http/http.dart' show ByteStream;
23 23
24 /// Returns whether or not [entry] is nested somewhere within [dir]. This just 24 /// Returns whether or not [entry] is nested somewhere within [dir]. This just
(...skipping 786 matching lines...) Expand 10 before | Expand all | Expand 10 after
811 const PubProcessResult(this.stdout, this.stderr, this.exitCode); 811 const PubProcessResult(this.stdout, this.stderr, this.exitCode);
812 812
813 bool get success => exitCode == 0; 813 bool get success => exitCode == 0;
814 } 814 }
815 815
816 /// Gets a [Uri] for [uri], which can either already be one, or be a [String]. 816 /// Gets a [Uri] for [uri], which can either already be one, or be a [String].
817 Uri _getUri(uri) { 817 Uri _getUri(uri) {
818 if (uri is Uri) return uri; 818 if (uri is Uri) return uri;
819 return Uri.parse(uri); 819 return Uri.parse(uri);
820 } 820 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698