Skip to main content

Module updater

Module updater 

Source
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§

UpdateOptions
Ported from UpdateOptions.
UpdateResult
Ported from UpdateResult.
Updater
Ported from Updater.

Enums§

UpdateStatus
Ported from UpdateStatus. Go’s zero value (iota 0) is StatusUpdated; Default mirrors that so a zero-initialized UpdateResult matches Go’s zero-valued UpdateResult.
UpdateStrategy
Ported from UpdateStrategy.

Functions§

determine_required_repositories
Ported from DetermineRequiredRepositories. Returns the set of repository names that are required based on edit_mode deployers, reloaders, and repositories in the configuration.
format_suggestions
Ported from FormatSuggestions in output.go. Generates actionable suggestions for repositories needing attention.
format_summary
Ported from FormatSummary in output.go.
format_table
Ported from FormatTable in output.go. Go’s original renders a pterm-styled table with ANSI colors via termutil; no equivalent terminal-styling crate is in this workspace yet (see PORT_NOTES.md), so this port renders a plain-text table with the same columns and content, without color.

Type Aliases§

RepoFilterFn
Ported from RepoFilterFunc.