aboutsummaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorSam Scholten2026-10-15 07:45:05 +1000
committerSam Scholten2026-10-15 07:45:05 +1000
commit9552cfc2058aa09c6c8b5d4b02d8700bc9fbce17 (patch)
tree453baef31cf7d6d0fa340b08b141242c6eab337b /core
parent1d2b3beebc3ad3ed500127fc40491659418d7eb5 (diff)
downloadfluxrec-9552cfc2058aa09c6c8b5d4b02d8700bc9fbce17.tar.gz
fluxrec-9552cfc2058aa09c6c8b5d4b02d8700bc9fbce17.zip
fix read/star label issue
Diffstat (limited to 'core')
-rw-r--r--core/labels.go5
1 files changed, 4 insertions, 1 deletions
diff --git a/core/labels.go b/core/labels.go
index bdff515..de14662 100644
--- a/core/labels.go
+++ b/core/labels.go
@@ -2,7 +2,10 @@
//
// labels.jsonl is the canonical label store: one JSON LabelRow per line,
// append-only. ReadLabels is strict (per-line errors with line numbers);
-// AppendLabels is the only writer — rows are never rewritten in place.
+// AppendLabels is the normal writer — rows are only rewritten in place by the
+// two commands that deliberately do so, each backing the file up first:
+// compact-labels (trimming per-feed negative skew) and export (relabeling a
+// starred entry that was stored as a negative).
package core
import (