display_no_changes

Function display_no_changes 

Source
pub fn display_no_changes(mode: OperationMode, quiet: bool)
Expand description

Display “no changes” message appropriate for the operation mode.

Shows a message indicating no changes were made, with different messages depending on whether this was an install or update operation.

§Arguments

  • mode - The operation mode (install or update)
  • quiet - Whether to suppress output

§Examples

use agpm_cli::cli::common::{display_no_changes, OperationMode};

display_no_changes(OperationMode::Install, false);
display_no_changes(OperationMode::Update, false);