Skip to main content

pack_from_texts

Function pack_from_texts 

Source
pub fn pack_from_texts(
    label: &str,
    items: Vec<(String, String)>,
) -> Result<Pack, String>
Expand description

Build a pack from (file stem, file text) pairs; label names it in errors. Folders and the copy in the binary both come here.