MultiFileCollection class

A FileCollection representing the union between multiple file collections.

All files and directories included in any of the member collections is also included in the returned collection. If one collection excludes some file entity but another member does not, the file entity is included in this collection.

Inheritance

Constructors

MultiFileCollection(List<FileCollection> members)
const

Properties

directories List<DirectoryEntry>
All directory paths included in this collection.
no setteroverride
files Set<String>
File paths configured in this collection.
no setteroverride
hashCode int
The hash code for this object.
no setterinherited
isEmpty bool
Returns true if this collection does not contain any file entity, false otherwise.
no setterinherited
isNotEmpty bool
Returns true if this collection contains at least one file entity, false otherwise.
no setterinherited
members List<FileCollection>
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

includedEntities() Iterable<FileSystemEntity>
All included entities in this collection.
inherited
includesDir(String dir) bool
Check if this collection includes a directory path.
inherited
includesFile(String file) bool
Check if this collection includes a file path.
inherited
intersection(FileCollection other) Set<String>
Compute the intersection between this collection and another.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
resolve() Stream<ResolvedEntity>
Resolve all FileSystemEntitys inside this collection.
override
resolveDirectories() Stream<Directory>
Resolve the Directorys inside this collection.
inherited
resolveFiles() Stream<File>
Resolve the Files inside this collection.
inherited
toString() String
A string representation of this object.
inherited
union(FileCollection other) FileCollection
The union between this file collection and other.
inherited

Operators

operator +(FileCollection other) FileCollection
Alias operator for the union method.
inherited
operator ==(Object other) bool
The equality operator.
inherited