Index: pkg/analyzer/lib/source/path_filter.dart |
diff --git a/pkg/analyzer/lib/source/path_filter.dart b/pkg/analyzer/lib/source/path_filter.dart |
index 6e54ac6549d113e90b73ce91301b783ef4690d7d..f4123f883217b7e73312447498318c4fa2a9ebc2 100644 |
--- a/pkg/analyzer/lib/source/path_filter.dart |
+++ b/pkg/analyzer/lib/source/path_filter.dart |
@@ -62,4 +62,13 @@ class PathFilter { |
/// Returns the relative portion of [path] from [root]. |
String _relative(String path) => pathContext.relative(path, from: root); |
+ |
+ String toString() { |
+ StringBuffer sb = new StringBuffer(); |
+ for (var pattern in _ignorePatterns) { |
+ sb.write('$pattern '); |
+ } |
+ sb.writeln(''); |
+ return sb.toString(); |
+ } |
} |