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

Unified Diff: sdk/lib/_internal/pub/lib/src/source/unknown.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/unknown.dart
diff --git a/sdk/lib/_internal/pub/lib/src/source/unknown.dart b/sdk/lib/_internal/pub/lib/src/source/unknown.dart
index da20dc2bc5a8e05576da9202a58de7ba34a15cf2..714ff5ce33b14ec1c392cdd44270fd90356f6c7f 100644
--- a/sdk/lib/_internal/pub/lib/src/source/unknown.dart
+++ b/sdk/lib/_internal/pub/lib/src/source/unknown.dart
@@ -31,9 +31,6 @@ class UnknownSource extends Source {
Future<Pubspec> doDescribe(PackageId id) => throw new UnsupportedError(
"Cannot describe a package from unknown source '$name'.");
- Future ensureLocal(PackageId id) => throw new UnsupportedError(
- "Cannot get a package from an unknown source '$name'.");
-
Future get(PackageId id, String symlink) => throw new UnsupportedError(
"Cannot get an unknown source '$name'.");

Powered by Google App Engine
This is Rietveld 408576698