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

Unified Diff: sdk/lib/_internal/pub/lib/src/source.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.dart
diff --git a/sdk/lib/_internal/pub/lib/src/source.dart b/sdk/lib/_internal/pub/lib/src/source.dart
index 823b86023d7df38b36bf2a623661670137d8da3f..0235792e09bae5f34aae4f07eccea0e4bd17199d 100644
--- a/sdk/lib/_internal/pub/lib/src/source.dart
+++ b/sdk/lib/_internal/pub/lib/src/source.dart
@@ -94,14 +94,6 @@ abstract class Source {
/// external code should not call this. Instead, call [describe].
Future<Pubspec> doDescribe(PackageId id);
- /// Ensures that the package identified by [id] is present on the local file
- /// system.
- ///
- /// For cached sources, this ensures the package is in the system cache. (If
- /// already cached, it does nothing.) For uncached sources, it does nothing
- /// since the package is already local.
- Future ensureLocal(PackageId id);
-
/// Ensures [id] is available locally and creates a symlink at [symlink]
/// pointing it.
Future get(PackageId id, String symlink);

Powered by Google App Engine
This is Rietveld 408576698