Skip to main content

asset_key

Function asset_key 

Source
pub fn asset_key(a: &AssetDecl) -> String
Expand description

The key a declaration’s served path is filed under (declared_served_paths): its normalised source path, plus its fixed URL path when it has one — so one file may be served both content-hashed and at a fixed path.