components/flutterstart_apply/flutterstart_apply library

Functions

applyPath(String root, String logicalPath) → String
applyPhase1({required ChangePlan plan, required PlanLocationRecord location, ApplyFileSystem fileSystem = const ApplyFileSystem(), ApplyObservations? observations, bool runPreflight = true}) → ApplyPhase1Result
applyPhase2({required ChangePlan plan, required PlanLocationRecord location, ProcessRunner processRunner = const ProcessRunner(), Map<String, String>? environment}) → Future<ApplyPhase2Result>
applyPreflight({required ChangePlan plan, required String stagingRoot, required String canonicalDestination, ApplyFileSystem fileSystem = const ApplyFileSystem(), ApplyObservations? observations, List<String> unrelatedChangedPaths = const []}) → StalenessAssessment
buildRecoveryReport({required List<String> restoredPaths, required List<String> removedCreatedPaths, required List<String> unresolvedPaths, required List<String> manualActions}) → RecoveryReport
Assembles a deterministic report whose state cannot overstate recovery.
checkReviewedContentInvariant({required ChangePlan plan, required String canonicalDestination, ApplyFileSystem fileSystem = const ApplyFileSystem()}) → ReviewedContentInvariantResult
isGitInitCommand(CommandRecord command) → bool
materializedButNotBuildReadyMessage(RegenFailure failure) → String
materializePhase1({required ChangePlan plan, required String stagingRoot, required String canonicalDestination, ApplyFileSystem fileSystem = const ApplyFileSystem()}) → MaterializeResult
outsideDeclaredSet({required Map<String, int> before, required Map<String, int> after, required List<String> declaredSet}) → List<String>
pathInDeclaredSet(String logicalPath, List<String> declaredSet) → bool
rollbackMaterialization({required ChangePlan plan, required String canonicalDestination, ApplyFileSystem fileSystem = const ApplyFileSystem(), int maxAttempts = 3, Duration initialBackoff = const Duration(milliseconds: 50), void sleep(Duration delay)?}) → RecoveryReport
Rolls back 0.1's materialize-only Apply into a fresh destination.
runGitInit({required String canonicalDestination, required ProcessRunner processRunner}) → Future<GitInitOutcome>
snapshotTarget(String canonicalDestination) → Map<String, int>
validationFailureRecovery({required String failingGate}) → RecoveryReport

Exceptions / Errors

ApplyException