GlobOpt class

Helper class to accumulate Glob options then to pass those as a user-defined parameter (a single object) to the method like CliOptList.toGlobValue(...)

Constructors

GlobOpt(FileSystem fileSystem, {bool? caseSensitive, bool recursive = false})
Default constructor

Properties

caseSensitive bool
Option indicating case-sensitive search
getter/setter pair
fileSystem → FileSystem
FileSystem object to link to the glob and to use for its default case sensitivity. It is required in order to encourage the use of a singleton
final
hashCode int
The hash code for this object.
no setterinherited
recursive bool
Option indicating recursive search (sub-directories)
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

isRecursivePattern(String? pattern) bool
Check whether pattern indicates recursive directory scan

Constants

anyPattern → const String
A pattern to list any file system element