diff options
| author | Danilo M. <danix@danix.xyz> | 2026-09-15 13:48:31 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-09-15 13:48:31 +0200 |
| commit | dbecac7041605a5dc8dd88109f71ea00a5692faa (patch) | |
| tree | c3ef95c8e30d6ee1bc6027cc61488db5a7e514b0 /internal/notify/control.go | |
| parent | 79c064efe75aa201584a9d618cbde950574f0ca5 (diff) | |
| download | notifyd-dbecac7041605a5dc8dd88109f71ea00a5692faa.tar.gz notifyd-dbecac7041605a5dc8dd88109f71ea00a5692faa.zip | |
feat: publish the queue and history atomically
Both files are written whole through a temporary file and a rename, so a
renderer never reads a half-written value. An empty queue is [] rather than
null, because the renderer parses it as an array.
Diffstat (limited to 'internal/notify/control.go')
0 files changed, 0 insertions, 0 deletions
