handle_summary

Function handle_summary 

Source
fn handle_summary(
    args: &Summary,
    main_epoch: &mut EpochConfig,
) -> Result<(), AppError>
Expand description

Edits the summary for the current epoch.

The function loads the epoch that is currently active in main_epoch, then replaces its summary field with the value supplied in args.summary. The epoch map in main_epoch is modified in place.

This helper is internal to the epoch sub-command and is not part of the public API.