Glob class

Expands shell style patterns in a configured path.

distribution/android/output/*.apk is the natural way to write "whatever the build produced", and every other tool in a release pipeline accepts it. Supported: * (anything but a separator), ? (one character), [abc] (a set), and ** (any number of directories).

Properties

hashCode int
The hash code for this object.
no setterinherited
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

expand(String pattern, {Directory? from}) List<File>
Every existing file matching pattern, newest first.
hasMagic(String pattern) bool
Whether pattern needs expanding at all.