Expand description
Repository update orchestration and result/output formatting.
Ported from internal/update/{updater,result,output}.go, including
every test in updater_test.go. See PORT_NOTES.md.
Structs§
- Update
Options - Ported from
UpdateOptions. - Update
Result - Ported from
UpdateResult. - Updater
- Ported from
Updater.
Enums§
- Update
Status - Ported from
UpdateStatus. Go’s zero value (iota0) isStatusUpdated;Defaultmirrors that so a zero-initializedUpdateResultmatches Go’s zero-valuedUpdateResult. - Update
Strategy - Ported from
UpdateStrategy.
Functions§
- determine_
required_ repositories - Ported from
DetermineRequiredRepositories. Returns the set of repository names that are required based onedit_modedeployers, reloaders, and repositories in the configuration. - format_
suggestions - Ported from
FormatSuggestionsinoutput.go. Generates actionable suggestions for repositories needing attention. - format_
summary - Ported from
FormatSummaryinoutput.go. - format_
table - Ported from
FormatTableinoutput.go. Go’s original renders apterm-styled table with ANSI colors viatermutil; no equivalent terminal-styling crate is in this workspace yet (seePORT_NOTES.md), so this port renders a plain-text table with the same columns and content, without color.
Type Aliases§
- Repo
Filter Fn - Ported from
RepoFilterFunc.