Skip to main content

served_path_with_hash

Function served_path_with_hash 

Source
pub fn served_path_with_hash(source: &str, hash: &str) -> String
Expand description

served_path with the content hash supplied rather than computed — the one definition of the served name’s shape, shared with the editor, which lists the assets/ folder but never reads its bytes and so shows served_path_with_hash(source, "<hash>") (#1883, editor tooling).