Skip to main content

register

Function register 

Source
pub fn register(name: &str, bytes: Vec<u8>)
Expand description

Registers bytes under name (the store asset path, e.g. assets/xslt/t.xslt). A later registration for the same name replaces the earlier bytes. Idempotent and infallible: the registry is populated once per boot from verified store entries.