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

Unified Diff: utils/pub/root_source.dart

Issue 10690127: Add support to the version solver for sources that only have a single version per package. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | utils/pub/sdk_source.dart » ('j') | utils/tests/pub/version_solver_test.dart » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: utils/pub/root_source.dart
diff --git a/utils/pub/root_source.dart b/utils/pub/root_source.dart
index 1e8d4f400bf1225da1f9057afbfc968f63f82a24..b1081589376a97e6addac2edb330456d30af14ea 100644
--- a/utils/pub/root_source.dart
+++ b/utils/pub/root_source.dart
@@ -20,10 +20,6 @@ class RootSource extends Source {
RootSource(this.package);
- Future<List<Version>> getVersions(description) {
- return Future<List<Version>>.immediate([package.version]);
- }
-
Future<Pubspec> describe(PackageId id) {
return Future<Pubspec>.immediate(package.pubspec);
}
« no previous file with comments | « no previous file | utils/pub/sdk_source.dart » ('j') | utils/tests/pub/version_solver_test.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698