Index: lib/src/entrypoint.dart |
diff --git a/lib/src/entrypoint.dart b/lib/src/entrypoint.dart |
index ed0d087ca454efa1817e9622033f882a29fbc3fc..a135484a6e4886deb02513a37b0ede7870a005ea 100644 |
--- a/lib/src/entrypoint.dart |
+++ b/lib/src/entrypoint.dart |
@@ -76,6 +76,9 @@ class Entrypoint { |
/// The path to the entrypoint's "packages" directory. |
String get packagesDir => root.path('packages'); |
+ /// The path to the entrypoint's ".packages" file. |
+ String get packagesFile => root.path('.packages'); |
+ |
/// `true` if the entrypoint package currently has a lock file. |
bool get lockFileExists => _lockFile != null || entryExists(lockFilePath); |