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.

Records the selection in a thread-safe in-process override (see active_profile_name) and returns the resolved profile after applying inheritance.