Glob class

Implemented types

Constructors

Glob(String pattern, {bool caseSensitive = true})
Creates the glob.

Properties

caseSensitive bool
True, if the pattern is case sensitive; otherwise false.
final
crossesDirectory bool?
Returns true if the glob pattern constains the segments that crosses the directoty.
no setter
hashCode int
The hash code for this object.
no setterinherited
isAbsolute bool?
Returns true if glob pattern is an absolute path; otherwise false; *
no setter
pattern String
Pattern for this glob.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
segments List<GlobSegment>?
Returns the glob segments.
no setter

Methods

allMatches(String str, [int start = 0]) Iterable<Match>
Matches this pattern against the string repeatedly.
override
match(String string) bool
Returns true if pattern matches thes string.
matchAsPrefix(String string, [int start = 0]) Match?
Matches this pattern against the start of string.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
Returns the string representation.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited