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

Unified Diff: pkg/analyzer/lib/file_system/file_system.dart

Issue 456893002: Support for excluded files/folders. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 4 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: pkg/analyzer/lib/file_system/file_system.dart
diff --git a/pkg/analyzer/lib/file_system/file_system.dart b/pkg/analyzer/lib/file_system/file_system.dart
index 3cb66fa67736f5921d4dc2874fe585ac2924abef..50e2cbd27205c62d856b550282b9b6af93a3218e 100644
--- a/pkg/analyzer/lib/file_system/file_system.dart
+++ b/pkg/analyzer/lib/file_system/file_system.dart
@@ -86,6 +86,12 @@ abstract class Resource {
* denote this resource.
*/
String get shortName;
+
+ /**
+ * Return `true` if absolute [path] references this resource or a resource in
+ * this folder.
+ */
+ bool isOrContains(String path);
}

Powered by Google App Engine
This is Rietveld 408576698