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

Side by Side Diff: lib/src/io.dart

Issue 1585513002: Get rid of all the library tags. (Closed) Base URL: git@github.com:dart-lang/pub.git@master
Patch Set: Created 4 years, 11 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
« no previous file with comments | « lib/src/http.dart ('k') | lib/src/lock_file.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) 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;
7
8 import 'dart:async'; 6 import 'dart:async';
9 import 'dart:collection'; 7 import 'dart:collection';
10 import 'dart:convert'; 8 import 'dart:convert';
11 import 'dart:io'; 9 import 'dart:io';
12 10
13 import 'package:path/path.dart' as path; 11 import 'package:path/path.dart' as path;
14 import 'package:pool/pool.dart'; 12 import 'package:pool/pool.dart';
15 import 'package:http/http.dart' show ByteStream; 13 import 'package:http/http.dart' show ByteStream;
16 import 'package:http_multi_server/http_multi_server.dart'; 14 import 'package:http_multi_server/http_multi_server.dart';
17 import 'package:stack_trace/stack_trace.dart'; 15 import 'package:stack_trace/stack_trace.dart';
(...skipping 1043 matching lines...) Expand 10 before | Expand all | Expand 10 after
1061 1059
1062 // TODO(rnystrom): Remove this and change to returning one string. 1060 // TODO(rnystrom): Remove this and change to returning one string.
1063 static List<String> _toLines(String output) { 1061 static List<String> _toLines(String output) {
1064 var lines = splitLines(output); 1062 var lines = splitLines(output);
1065 if (!lines.isEmpty && lines.last == "") lines.removeLast(); 1063 if (!lines.isEmpty && lines.last == "") lines.removeLast();
1066 return lines; 1064 return lines;
1067 } 1065 }
1068 1066
1069 bool get success => exitCode == exit_codes.SUCCESS; 1067 bool get success => exitCode == exit_codes.SUCCESS;
1070 } 1068 }
OLDNEW
« no previous file with comments | « lib/src/http.dart ('k') | lib/src/lock_file.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698