Documentation
¶
Overview ¶
Package jsonl appends records to the JSON Lines files Blitz keeps (sessions' transcripts and events, jobs' runs) so that a crash part way through a write costs only the record it tore.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Append ¶
Append writes line and a newline at the end of the file at path, making it with perm. When the file's last line was torn (a crash left it without its newline), a newline goes first: the record starts a line of its own, so readers that skip a bad line skip only the torn one, not this one too.
Types ¶
This section is empty.