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

Unified Diff: packages/glob/lib/glob.dart

Issue 3015713002: Roll to pickup pool changes
Patch Set: Created 3 years, 3 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 | « packages/glob/CHANGELOG.md ('k') | packages/glob/lib/src/ast.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: packages/glob/lib/glob.dart
diff --git a/packages/glob/lib/glob.dart b/packages/glob/lib/glob.dart
index ca83969009ec467b1c7815ed35821ec1e149e19e..a7d6b4c2abb957d38f7e1107c300afa830cfb0a4 100644
--- a/packages/glob/lib/glob.dart
+++ b/packages/glob/lib/glob.dart
@@ -58,6 +58,7 @@ class Glob implements Pattern {
}
return _contextIsAbsoluteCache;
}
+
bool _contextIsAbsoluteCache;
/// Whether [pattern] could match absolute paths.
@@ -67,6 +68,7 @@ class Glob implements Pattern {
}
return _patternCanMatchAbsoluteCache;
}
+
bool _patternCanMatchAbsoluteCache;
/// Whether [pattern] could match relative paths.
@@ -76,6 +78,7 @@ class Glob implements Pattern {
}
return _patternCanMatchRelativeCache;
}
+
bool _patternCanMatchRelativeCache;
/// Returns [contents] with characters that are meaningful in globs
@@ -95,8 +98,8 @@ class Glob implements Pattern {
/// case matches that of the characters in the glob. Otherwise, it matches
/// regardless of case. This defaults to `false` when [context] is Windows and
/// `true` otherwise.
- factory Glob(String pattern, {p.Context context, bool recursive: false,
- bool caseSensitive}) {
+ factory Glob(String pattern,
+ {p.Context context, bool recursive: false, bool caseSensitive}) {
context ??= p.context;
caseSensitive ??= context.style == p.Style.windows ? false : true;
if (recursive) pattern += "{,/**}";
« no previous file with comments | « packages/glob/CHANGELOG.md ('k') | packages/glob/lib/src/ast.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698