Skip to main content

active_channel

Function active_channel 

Source
pub async fn active_channel(scheduler: &Scheduler) -> UpdateChannel
Expand description

The channel the running profile is set to.

Extracted from check_for_update so that “the check follows the saved channel, not a hardcoded one” is an actually tested claim — the command itself cannot be unit-tested, because updater_builder panics without the updater plugin and a real check would hit the network.