Skip to main content

classify_pack

Function classify_pack 

Source
pub fn classify_pack(pack: &Pack) -> PackKind
Expand description

Classify a pack by inspecting its top-level files.

Mirrors the default rules in config::mappings_to_rules rather than re-running the rules scanner, because the tutorial only needs a coarse summary and we want to stay independent of any custom rules a user may have added.