Skip to main content

change_in

Function change_in 

Source
pub fn change_in(
    dir: &Path,
    key: &str,
    change: impl Fn(&mut Session),
) -> Result<bool, String>
Expand description

The session key names, changed by change: in place within its month; moved to another month, written there first, then taken out of its old one, so that nothing is lost on the way. Returns whether it was found.