PackageFilter class
Constructors
-
PackageFilter({List<Glob> scope = const [], List<Glob> ignore = const [], List<String> dirExists = const [], List<String> fileExists = const [], List<String> dependsOn = const [], List<String> noDependsOn = const [], String? updatedSince, String? diff, bool? includePrivatePackages, bool? published, bool? nullSafe, bool? flutter, bool includeDependencies = false, bool includeDependents = false})
-
-
PackageFilter.fromYaml(Map<Object?, Object?> yaml, {required String path, required String workspacePath})
-
factory
Properties
-
dependsOn
→ List<String>
-
Include only packages that depend on a specific package.
final
-
diff
→ String?
-
Filter package based on whether they are different between specific git
commit/tag ID.
final
-
dirExists
→ List<String>
-
Include a package only if a given directory exists.
final
-
fileExists
→ List<String>
-
Include a package only if a given file exists.
final
-
hashCode
→ int
-
The hash code for this object.
no setteroverride
-
ignore
→ List<Glob>
-
Patterns for excluding packages by name.
final
-
includeDependencies
→ bool
-
Whether to include the packages that the filtered packages depends on.
final
-
includeDependents
→ bool
-
Whether to include packages that depends on the filtered packages.
final
-
includePrivatePackages
→ bool?
-
Include/Exclude packages with
publish_to: none
.
final
-
noDependsOn
→ List<String>
-
Include only packages that do not depend on a specific package.
final
-
nullSafe
→ bool?
-
Include/exclude packages that are null-safe.
final
-
published
→ bool?
-
Include/exclude packages that are up-to-date on pub.dev
final
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
scope
→ List<Glob>
-
Patterns for filtering packages by name.
final
-
updatedSince
→ String?
-
Filter package based on whether they received changed since a specific git
commit/tag ID.
final