| Index: sdk/lib/_internal/pub/lib/src/source.dart
|
| diff --git a/sdk/lib/_internal/pub/lib/src/source.dart b/sdk/lib/_internal/pub/lib/src/source.dart
|
| index c978221c29d1aac8551886aee4752231a9db8e34..676e1a6640913cddddacae0fda050926886078ed 100644
|
| --- a/sdk/lib/_internal/pub/lib/src/source.dart
|
| +++ b/sdk/lib/_internal/pub/lib/src/source.dart
|
| @@ -227,6 +227,13 @@ abstract class Source {
|
| return description;
|
| }
|
|
|
| + /// When a [LockFile] is serialized, it uses this method to get the
|
| + /// [description] in the right format. [containingPath] references the
|
| + /// containing directory of the root package.
|
| + dynamic serializeDescription(String containingPath, description) {
|
| + return description;
|
| + }
|
| +
|
| /// Returns whether or not [description1] describes the same package as
|
| /// [description2] for this source. This method should be light-weight. It
|
| /// doesn't need to validate that either package exists.
|
|
|