Skip to main content

load_project_packs

Function load_project_packs 

Source
pub fn load_project_packs(project_dir: &Path) -> Vec<LibraryPack>
Expand description

Scan project_dir/libraries/*.zen and parse each file into a LibraryPack.

A missing libraries/ directory (or a project_dir without one) yields an empty vector. Files that fail to read or parse are skipped — a note is written to stderr — so one bad pack never aborts the whole listing.