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

Unified Diff: lib/src/source/cached.dart

Issue 1239623005: "pub cache repair" prints a more detailed summary. (Closed) Base URL: git@github.com:dart-lang/pub.git@master
Patch Set: Created 5 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 | « lib/src/global_packages.dart ('k') | lib/src/source/git.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/source/cached.dart
diff --git a/lib/src/source/cached.dart b/lib/src/source/cached.dart
index 3775aa910728d1572f165d5600ab20769a58a8c7..bfe0382e796e5cfb1ea787394f747cbebc011052 100644
--- a/lib/src/source/cached.dart
+++ b/lib/src/source/cached.dart
@@ -67,7 +67,8 @@ abstract class CachedSource extends Source {
/// Reinstalls all packages that have been previously installed into the
/// system cache by this source.
///
- /// Returns a [Pair] whose first element is the number of packages
- /// successfully repaired and the second is the number of failures.
- Future<Pair<int, int>> repairCachedPackages();
+ /// Returns a [Pair] whose first element is the packages that were
+ /// successfully repaired and the second is the packages that failed to be
+ /// repaired.
+ Future<Pair<List<PackageId>, List<PackageId>>> repairCachedPackages();
}
« no previous file with comments | « lib/src/global_packages.dart ('k') | lib/src/source/git.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698