Skip to main content

set_active_profile

Function set_active_profile 

Source
pub fn set_active_profile(name: &str) -> Result<Profile, String>
Expand description

Sets the active profile for the current process by updating LEAN_CTX_PROFILE.

Returns the resolved profile after applying inheritance.