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

Unified Diff: sdk/lib/_internal/pub/lib/src/command/cache.dart

Issue 228703006: Add “pub cache repair” to forcibly re-install previously cached packages. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Revise. Created 6 years, 8 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/command/cache.dart
diff --git a/sdk/lib/_internal/pub/lib/src/command/cache.dart b/sdk/lib/_internal/pub/lib/src/command/cache.dart
index 93897fae11ecfb7679a44c667959aaa51e13efa7..63d027bd22be146e4fec8e9f5637c28ab6bf9f4b 100644
--- a/sdk/lib/_internal/pub/lib/src/command/cache.dart
+++ b/sdk/lib/_internal/pub/lib/src/command/cache.dart
@@ -7,6 +7,7 @@ library pub.command.cache;
import '../command.dart';
import 'cache_add.dart';
import 'cache_list.dart';
+import 'cache_repair.dart';
/// Handles the `cache` pub command.
class CacheCommand extends PubCommand {
@@ -15,6 +16,7 @@ class CacheCommand extends PubCommand {
final subcommands = {
"add": new CacheAddCommand(),
- "list": new CacheListCommand()
+ "list": new CacheListCommand(),
+ "repair": new CacheRepairCommand()
};
}
« no previous file with comments | « no previous file | sdk/lib/_internal/pub/lib/src/command/cache_add.dart » ('j') | sdk/lib/_internal/pub/lib/src/source/git.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698