pub fn append_record(
history_file: &Path,
record: &str,
rotation: RotationPolicy,
) -> Result<bool>Expand description
Append a record to the history file using a lock directory (<history_file>.lock).
Returns:
Ok(true)when a record was appendedOk(false)when the lock could not be acquired (skip silently)