Skip to main content

route

Function route 

Source
pub fn route(
    path: &Path,
    asked: &Asked,
    registry: &Registry,
) -> Result<Route, String>
Expand description

Whether, and with which spec, path is read. In order: --format FILE, then --format NAME, then a glob, then magic. A file whose name or bytes say it is a format datui reads already keeps opening that way.