pub fn carry_into(
own: &Path,
lines: &[Line],
now_ms: i64,
) -> Result<usize, String>Expand description
A phone’s new lines added to its own log (own), under its lock, read
again there: those not in it yet (by id), and those its phone now lets
through more than EARLIER_MS earlier than it first said (a hold that
ended early: a pause ended, the hours changed, a conversation answered
from a computer), written again so that computers show them then; none
past KEPT_DAYS (taken out already, it would come back), each padded.
Two processes adding at once never write a line twice. Returns how many
were written.