Skip to main content

channel_endpoint_url

Function channel_endpoint_url 

Source
pub fn channel_endpoint_url(channel: UpdateChannel) -> Result<Url, String>
Expand description

The channel’s manifest URL, parsed into a Url.

Split out from check_channel so the parse and its error mapping are unit-testable; what remains in check_channel is live-runtime glue (updater_builder, a network fetch) with no mockable surface.