pub fn export(model: &Path, packs: &Path, name: &str) -> Result<usize, String>Expand description
Write a pack that was made in the model out to a pack folder <packs>/<name>/, so other models can add it:
the manifest (without the install record) and every node that carries its tag. Returns the node count.
The folder is checked as a pack before it replaces an earlier export.