pub struct TransformCheckResult {
pub entries: Vec<TransformCheckEntry>,
pub unresolved_markers: Vec<UnresolvedMarkerEntry>,
pub has_findings: bool,
pub strict: bool,
}Expand description
Aggregate outcome of a transform check invocation.
Fields§
§entries: Vec<TransformCheckEntry>§unresolved_markers: Vec<UnresolvedMarkerEntry>Populated only when strict = true and at least one source
carries unresolved dodot-conflict markers.
has_findings: boolTrue iff at least one entry has a non-clean state that should
make the command exit non-zero (Conflict, NeedsRebaseline,
MissingSource, MissingDeployed) or --strict found unresolved
markers. CLI uses this to decide the process exit code.
Patched does not set this — an unambiguous reverse-merge is
the auto-merge happy path: burgertocow + diffy produced a clean
unified patch with no markers, the source has been rewritten
to match, and there’s nothing for the user to review. The
pre-commit hook lets the original git commit proceed; the
patched source surfaces as modified on the next git status,
at which point the user git adds and commits a follow-up
(or amends) if they want a clean history. Issue #113 walks
through the rationale.
strict: boolImplementations§
Trait Implementations§
Source§impl Clone for TransformCheckResult
impl Clone for TransformCheckResult
Source§fn clone(&self) -> TransformCheckResult
fn clone(&self) -> TransformCheckResult
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more