| Index: utils/pub/repo_source.dart
|
| diff --git a/utils/pub/repo_source.dart b/utils/pub/repo_source.dart
|
| index f12cfbcb2d009c30587d5542d167fde53f7396ff..86812e54f282d8ec311dec7feaa5c10b06bd9556 100644
|
| --- a/utils/pub/repo_source.dart
|
| +++ b/utils/pub/repo_source.dart
|
| @@ -60,7 +60,10 @@ class RepoSource extends Source {
|
| return join(parent, urlDir, "${parsed.first}-${id.version}");
|
| }
|
|
|
| - String packageName(PackageId id) => _parseDescription(id.description).first;
|
| + String packageName(description) => _parseDescription(description).first;
|
| +
|
| + bool descriptionsEqual(description1, description2) =>
|
| + _parseDescription(description1) == _parseDescription(description2);
|
|
|
| /**
|
| * Ensures that [description] is a valid repo description.
|
|
|