Index: sdk/lib/_internal/pub/lib/src/package.dart |
diff --git a/sdk/lib/_internal/pub/lib/src/package.dart b/sdk/lib/_internal/pub/lib/src/package.dart |
index 438c34b22c8c20d9dea34af548dff82e259665d2..29c9b1fadc4686bbad71826ac0134bbe11045728 100644 |
--- a/sdk/lib/_internal/pub/lib/src/package.dart |
+++ b/sdk/lib/_internal/pub/lib/src/package.dart |
@@ -110,6 +110,9 @@ class Package { |
Package.inMemory(this.pubspec) |
: dir = null; |
+ /// Creates a package with [pubspec] located at [dir]. |
+ Package(this.pubspec, this.dir); |
+ |
/// The basenames of files that are included in [list] despite being hidden. |
static final _WHITELISTED_FILES = const ['.htaccess']; |