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

Unified Diff: sdk/lib/_internal/pub/lib/src/source/path.dart

Issue 26284002: Rename "install" -> "get" and "update" -> "upgrade". (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 2 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/path.dart
diff --git a/sdk/lib/_internal/pub/lib/src/source/path.dart b/sdk/lib/_internal/pub/lib/src/source/path.dart
index a9a88d8f9d448245e47e6fffcfa1e433b1d85069..2f7ccc303f4ce36e3f714c476b4794630ca8baa9 100644
--- a/sdk/lib/_internal/pub/lib/src/source/path.dart
+++ b/sdk/lib/_internal/pub/lib/src/source/path.dart
@@ -14,7 +14,7 @@ import '../pubspec.dart';
import '../source.dart';
import '../utils.dart';
-/// A package [Source] that installs packages from a given local file path.
+/// A package [Source] that gets packages from a given local file path.
class PathSource extends Source {
final name = 'path';
final shouldCache = false;
@@ -34,7 +34,7 @@ class PathSource extends Source {
return path1 == path2;
}
- Future<bool> install(PackageId id, String destination) {
+ Future<bool> get(PackageId id, String destination) {
return new Future.sync(() {
try {
_validatePath(id.name, id.description);

Powered by Google App Engine
This is Rietveld 408576698