Skip to main content

map_uri

Function map_uri 

pub fn map_uri(uris: &[Url]) -> PortalOutcome
Expand description

Map the portal’s returned URIs for a single-file interaction: the first local file:// path wins, an empty list is a cancel, and a URI that is not a local file is a failure.

Pure, so the channel/threading contract can be tested without a portal.