Skip to main content

Module state

Module state 

Source
Expand description

State orchestration: pull, diff, and push.

Split by concern: report types, mirror file I/O, and one module per command. mod.rs holds the shared selection scope and the filename helpers every command uses.

Structs§

DanglingPointer
A rule whose stored exception pointer does not match the live container.
DiffReport
The report diff renders.
ExceptionDrift
Exception-list drift, mirroring the rules block of DiffReport.
Mirror
The mirror read_mirror reads: every rule and exception-list file under dir, with each list’s items array split out.
PullReport
The report pull renders.
PushPlan
What plan_push computed and apply_push performs.
PushReport
The summary push renders.
StackIdentity
The resolved deployment the change report records as its target.

Enums§

ListChange

Functions§

apply_push
Perform the mutations plan_push proposed.
diff
Compare the mirror to the stack, scoped by source. The custom/all default lives on the clap flag, where --help shows it (spec 5.5).
plan_push
Compute the push preview and dry-run report without mutating the stack, scoped by source. The custom/all default lives on the clap flag, where --help shows it (spec 5.5).
pull
Pull the mirror, scoped by source. The custom/all default lives on the clap flag, where --help shows it, not in this signature (spec 5.5).
read_local
read_mirror’s rules, for the rules-only callers.
read_mirror
Read the local mirror under dir: the rules plus the exception lists they reference.