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

Unified Diff: sdk/lib/_internal/pub/lib/src/source/cached.dart

Issue 331593012: Add a "global activate" command to pub. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Revise. Created 6 years, 6 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 side-by-side diff with in-line comments
Download patch
Index: sdk/lib/_internal/pub/lib/src/source/cached.dart
diff --git a/sdk/lib/_internal/pub/lib/src/source/cached.dart b/sdk/lib/_internal/pub/lib/src/source/cached.dart
index aaafd3190a1122eff406c2a88a3081d8a67ff0a1..3775aa910728d1572f165d5600ab20769a58a8c7 100644
--- a/sdk/lib/_internal/pub/lib/src/source/cached.dart
+++ b/sdk/lib/_internal/pub/lib/src/source/cached.dart
@@ -47,10 +47,6 @@ abstract class CachedSource extends Source {
/// the system cache.
Future<Pubspec> describeUncached(PackageId id);
- Future ensureLocal(PackageId id) {
- return downloadToSystemCache(id);
- }
-
Future get(PackageId id, String symlink) {
return downloadToSystemCache(id).then((pkg) {
createPackageSymlink(id.name, pkg.dir, symlink);

Powered by Google App Engine
This is Rietveld 408576698