ProjectFilePreparer class
Constructors
-
ProjectFilePreparer({required bool isWorkspace, required Directory rootDirectory, required Directory scloudDir, required List<
String> includedSubPaths, required List<String> includedPackagePaths, required String projectPackageName, String projectSubPath = '.', Version? projectVersion, bool keepFlutterEnvironment = false, List<String> excludedSubPaths = const [], PackageGraph? packageGraph})
Properties
-
excludedSubPaths
→ List<
String> -
Paths below the included sub paths, relative to rootDirectory, whose
files are left out.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
includedPackagePaths
→ List<
String> -
final
-
includedSubPaths
→ List<
String> -
final
- isWorkspace → bool
-
final
- keepFlutterEnvironment → bool
-
Whether the filtered workspace root pubspec keeps its Flutter SDK
constraint.
final
- packageGraph → PackageGraph
-
The package dependency graph for lockfile filtering.
no setter
- projectPackageName → String
-
final
- projectSubPath → String
-
The path of the project package, relative to rootDirectory.
final
- projectVersion → Version?
-
The version in the pubspec of the project package, if it has one.
final
- rootDirectory → Directory
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scloudDir → Directory
-
final
Methods
-
filterPubspecLock(
String content) → String -
filterPubspecYaml(
String content) → String -
isExcluded(
String relativePath) → bool -
Whether the file at
relativePath, relative to rootDirectory, is left out by excludedSubPaths. -
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