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

Side by Side Diff: sdk/lib/_internal/pub/lib/src/entrypoint.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) 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 library pub.entrypoint; 5 library pub.entrypoint;
6 6
7 import 'dart:async'; 7 import 'dart:async';
8 8
9 import 'package:pathos/path.dart' as path; 9 import 'package:path/path.dart' as path;
10 10
11 import 'git.dart' as git; 11 import 'git.dart' as git;
12 import 'io.dart'; 12 import 'io.dart';
13 import 'lock_file.dart'; 13 import 'lock_file.dart';
14 import 'log.dart' as log; 14 import 'log.dart' as log;
15 import 'package.dart'; 15 import 'package.dart';
16 import 'pubspec.dart'; 16 import 'pubspec.dart';
17 import 'sdk.dart' as sdk; 17 import 'sdk.dart' as sdk;
18 import 'system_cache.dart'; 18 import 'system_cache.dart';
19 import 'utils.dart'; 19 import 'utils.dart';
(...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after
258 // Skip directories and broken symlinks. 258 // Skip directories and broken symlinks.
259 if (!fileExists(file)) return false; 259 if (!fileExists(file)) return false;
260 260
261 var relative = path.relative(file, from: beneath); 261 var relative = path.relative(file, from: beneath);
262 if (_BLACKLISTED_FILES.contains(path.basename(relative))) return false; 262 if (_BLACKLISTED_FILES.contains(path.basename(relative))) return false;
263 return !path.split(relative).any(_BLACKLISTED_DIRS.contains); 263 return !path.split(relative).any(_BLACKLISTED_DIRS.contains);
264 }).toList(); 264 }).toList();
265 }); 265 });
266 } 266 }
267 } 267 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698