Skip to main content

append

Function append 

Source
pub fn append(path: &Path, entry: &Entry) -> Result<()>
Expand description

Appends a usage entry as a single JSON line to path.

Creates parent directories if needed, and writes JSON plus newline in a single write_all.