Skip to main content

pack

Function pack 

Source
pub fn pack(
    seed: &Value,
    templates_dir: &Path,
    out: &Path,
) -> Result<usize, StarterError>
Expand description

Write a package file: theme.json plus every file under templates_dir.

ยงErrors

I/O errors reading the templates or writing the archive.