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

Unified Diff: pkg/analyzer/lib/src/dart/analysis/driver.dart

Issue 2542673002: Show priority files on the status page. (Closed)
Patch Set: Created 4 years 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 | « pkg/analysis_server/lib/src/status/get_handler2.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/lib/src/dart/analysis/driver.dart
diff --git a/pkg/analyzer/lib/src/dart/analysis/driver.dart b/pkg/analyzer/lib/src/dart/analysis/driver.dart
index a903243206e7994b1b4313c1b609cf9d9a60fe9a..a84d458d3313eb9c5b74f2d59c6ea23cce8730fc 100644
--- a/pkg/analyzer/lib/src/dart/analysis/driver.dart
+++ b/pkg/analyzer/lib/src/dart/analysis/driver.dart
@@ -241,6 +241,11 @@ class AnalysisDriver {
Set<String> get knownFiles => _fsState.knownFiles;
/**
+ * Return the list of files that the driver should try to analyze sooner.
+ */
+ List<String> get priorityFiles => _priorityFiles.toList(growable: false);
+
+ /**
* Set the list of files that the driver should try to analyze sooner.
*
* Every path in the list must be absolute and normalized.
« no previous file with comments | « pkg/analysis_server/lib/src/status/get_handler2.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698