is_manjaro_name_or_owner

Function is_manjaro_name_or_owner 

Source
pub fn is_manjaro_name_or_owner(name: &str, owner: &str) -> bool
Expand description

What: Determine if a package or its owner indicates Manjaro

Input:

  • name package name; owner maintainer/owner string

Output:

  • true if name starts with “manjaro-” or owner contains “manjaro” (case-insensitive)

Details:

  • Lowercases both inputs and checks the prefix/substring rules.