Pudu programming language
Menu
API reference

Std.Ui.Preferences.saveTo

1 declaration

fn

saveTo: &Std.Ui.Preferences.Preferences -> Str -> Result[(), Std.Ui.Preferences.PreferencesError]

Saves the settings at path, creating its directories. The file is replaced in one step, so a crash leaves the old settings or the new ones.

Back to Std.Ui.PreferencesSearch related declarations