Skip to main content

resolve

Function resolve 

Source
pub fn resolve(
    path: &str,
    query: Option<&str>,
) -> Option<(&'static Asset, bool)>
Expand description

The asset for a request path, and whether the request names the current version (?v=<version>, or the path /static/shared/v/<version>/…).