Skip to main content

try_replace_all

Function try_replace_all 

Source
pub fn try_replace_all(entries: HashMap<String, Vec<u8>>) -> Result<(), String>
Expand description

Replace the entire autoload shard with the given entries. Use this from compinit’s bulk pre-warm path — accumulates all (name, chunk_blob) in the entries HashMap and writes the shard exactly once.