Skip to main content

rename_profile

Function rename_profile 

Source
pub async fn rename_profile(
    app: AppHandle,
    scheduler: State<'_, Scheduler>,
    from: String,
    to: String,
) -> Result<(), String>
Expand description

Rename a profile. If the active profile is renamed, the active pointer is updated to follow it. Rejects collisions and missing sources.