Skip to main content

write_profiles

Function write_profiles 

Source
pub fn write_profiles(
    path: &Path,
    profiles: &[BrowserProfile],
) -> Result<(), String>
Expand description

Replace the list, through a temp file and a rename, so a crash never leaves a half-written file.