Class LabelIndex
java.lang.Object
io.github.jbastgen.stemma.app.label.LabelIndex
The label index: a text file that records which labels exist and which commits have which labels. It is an
append-only log of events, one per line, so several people or computers can share one file (a network share, or a
folder that a sync tool keeps in step) without a server: see
docs/label-index.md for the format and for
how to set it up.
Reading is tolerant: unknown or damaged lines are skipped, so a newer version's additions or a half-synced file never stop the application. Writing appends one complete line at a time.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordA label that can be given to commits. -
Method Summary
-
Method Details
-
idFor
A label id for a name: lower case letters, digits and hyphens.
-