get_profile

Function get_profile 

Source
pub fn get_profile<'a>(
    config: &'a LandConfig,
    profile_name: &str,
) -> Option<&'a Profile>
Expand description

Gets a specific profile by name.

§Arguments

  • config - The loaded configuration
  • profile_name - Name of the profile to retrieve

§Returns

Option containing the profile if found