Skip to main content

rewrite_record

Function rewrite_record 

Source
pub fn rewrite_record(
    home: &Path,
    id: &str,
    generation: u32,
    tab: bool,
    after_lock: Option<&dyn Fn()>,
) -> Result<(), ToolError>
Expand description

Rewrite only generation and tab, under the pair’s lock, never lowering the generation.