pub struct PackStatusResult {
pub message: Option<String>,
pub dry_run: bool,
pub packs: Vec<DisplayPack>,
pub warnings: Vec<String>,
pub notes: Vec<DisplayNote>,
pub conflicts: Vec<DisplayConflict>,
pub ignored_packs: Vec<String>,
pub view_mode: String,
pub group_mode: String,
}Expand description
Result type for commands that display pack status (status, up, down).
Fields§
§message: Option<String>§dry_run: bool§packs: Vec<DisplayPack>§warnings: Vec<String>Informational command-level messages not attached to any row
(e.g. “pack X is ignored, skipping”). Real errors belong in
notes so they can be referenced from an item row.
notes: Vec<DisplayNote>Command-wide error/note list. Each entry is referenced by a
DisplayFile.note_ref (1-based). Rendered at the end of the
output so per-item rows stay single-line and column-aligned.
conflicts: Vec<DisplayConflict>Cross-pack conflicts to display at the end of the output.
ignored_packs: Vec<String>Names of pack-shaped directories skipped because they carry a
.dodotignore marker. Surfaced by status so users aren’t
baffled when a directory they expected doesn’t appear.
view_mode: String"full" (default) shows per-file listing; "short" collapses
each pack to a single summary line.
group_mode: String"name" (default) lists packs in their discovery order;
"status" groups packs under Ignored / Deployed / Pending /
Error banners.
Trait Implementations§
Source§impl Clone for PackStatusResult
impl Clone for PackStatusResult
Source§fn clone(&self) -> PackStatusResult
fn clone(&self) -> PackStatusResult
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more