Skip to main content

keep_profile

Function keep_profile 

Source
pub fn keep_profile(
    root: &Path,
    source: impl FnOnce() -> Arc<dyn SettingsSource>,
)
Expand description

Keep the settings of the profile at root in what source makes, in place of its own document (profile), unless something keeps them already: what a host that keeps a person’s settings as resources of a workspace gives the profile it opens a window on, so they are kept, stepped and read back as that host keeps the person’s, and a later window on the profile finds what an earlier one set.