Skip to main content

save

Function save 

Source
pub(crate) fn save(
    path: &Path,
    binding: &KeyBinding,
    saved_secs: u64,
    records: &[Record],
) -> Result<()>
Expand description

Write the file: a temp file in the same folder (owner-only before it holds anything on unix, and with its list set on Windows) and a rename over the old one.