Index: sdk/lib/_internal/pub/lib/src/entrypoint.dart |
diff --git a/sdk/lib/_internal/pub/lib/src/entrypoint.dart b/sdk/lib/_internal/pub/lib/src/entrypoint.dart |
index 67e2ebbacec8348f8c780c7319cc10aa28a9fa2a..6a9f6076bdb37ed5f7c1348b9fde2b850715ea08 100644 |
--- a/sdk/lib/_internal/pub/lib/src/entrypoint.dart |
+++ b/sdk/lib/_internal/pub/lib/src/entrypoint.dart |
@@ -74,6 +74,9 @@ class Entrypoint { |
return _lockFile; |
} |
+ /// The path to the entrypoint package's pubspec. |
+ String get pubspecPath => path.join(root.dir, 'pubspec.yaml'); |
+ |
/// The path to the entrypoint package's lockfile. |
String get lockFilePath => path.join(root.dir, 'pubspec.lock'); |