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

Unified Diff: sdk/lib/_internal/pub/lib/src/entrypoint.dart

Issue 397843005: Lazily load the entrypoint. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 5 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/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');

Powered by Google App Engine
This is Rietveld 408576698