diff options
| author | 2026-03-29 13:26:10 +0000 | |
|---|---|---|
| committer | 2026-03-29 13:26:10 +0000 | |
| commit | 2006e2e07f073a79a84194a304e4958a8739d645 (patch) | |
| tree | fc08391aa0d4693350ce19541ece804db33dc3fe /format/commitgraph/read/iterators.go | |
| parent | TODO: What does git.sr.ht and tangled need (diff) | |
| signature | No signature | |
format/commitgraph: Remove MT-ReadSafe; use MT-Safe/Unsafe
Diffstat (limited to 'format/commitgraph/read/iterators.go')
| -rw-r--r-- | format/commitgraph/read/iterators.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/format/commitgraph/read/iterators.go b/format/commitgraph/read/iterators.go index 0e31f7e5..f8731526 100644 --- a/format/commitgraph/read/iterators.go +++ b/format/commitgraph/read/iterators.go @@ -9,7 +9,7 @@ import ( // AllPositions iterates all commit positions in native layer order. // -// Labels: Life-Parent. +// Labels: MT-Safe, Life-Parent. func (reader *Reader) AllPositions() iter.Seq[Position] { return func(yield func(Position) bool) { for layerIdx := range reader.layers { @@ -31,7 +31,7 @@ func (reader *Reader) AllPositions() iter.Seq[Position] { // AllOIDs iterates all commit object IDs in native layer order. // -// Labels: Life-Parent. +// Labels: MT-Safe, Life-Parent. func (reader *Reader) AllOIDs() iter.Seq[objectid.ObjectID] { return func(yield func(objectid.ObjectID) bool) { positions := reader.AllPositions() |
