Skip to main content

update_session_name

Function update_session_name 

Source
pub fn update_session_name(
    session_id: &str,
    name: Option<&str>,
) -> Result<(), String>
Expand description

Rewrite {session_id}.json with a new name (rename / saveas). The rest of the record (socket, pid, started_at) is kept. Errors when there is no registration to update.