Skip to main content

append_private

Function append_private 

Source
pub(crate) fn append_private(path: &Path, text: &str) -> Result<(), String>
Expand description

Adds lines at the end of a file of this device’s own, made yours alone (0600, in a 0700 folder, on Unix). The caller holds its lock.