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

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

Issue 42823002: Avoid watching files that aren't going to change for "pub serve". (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 2 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
« no previous file with comments | « sdk/lib/_internal/pub/lib/src/entrypoint.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/_internal/pub/lib/src/package_graph.dart
diff --git a/sdk/lib/_internal/pub/lib/src/package_graph.dart b/sdk/lib/_internal/pub/lib/src/package_graph.dart
index 634eb5ce5918cbda59e756ed339b564406472cb8..0e2b8e07f9b2f4707f80f937cb41c5f6d6088f5b 100644
--- a/sdk/lib/_internal/pub/lib/src/package_graph.dart
+++ b/sdk/lib/_internal/pub/lib/src/package_graph.dart
@@ -14,10 +14,16 @@ class PackageGraph {
/// The entrypoint.
final Entrypoint entrypoint;
+ /// The entrypoint's lockfile.
+ ///
+ /// This describes the sources and resolved descriptions of everything in
+ /// [packages].
+ final LockFile lockFile;
+
/// All transitive dependencies of the entrypoint (including itself).
final Map<String, Package> packages;
- PackageGraph(this.entrypoint, this.packages);
+ PackageGraph(this.entrypoint, this.lockFile, this.packages);
/// Returns the set of transitive dependencies of the package named
/// [packageName].
« no previous file with comments | « sdk/lib/_internal/pub/lib/src/entrypoint.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698