aboutsummaryrefslogtreecommitdiff
path: root/format/commitgraph/read/iterators.go
diff options
context:
space:
mode:
authorGravatar Runxi Yu2026-03-29 13:27:55 +0000
committerGravatar Runxi Yu2026-03-29 13:27:55 +0000
commitabce6092bf50a1878934e2b442c6781e6aff3fca (patch)
tree3cde8b3b560c7fe4242ba1966588e497fb472142 /format/commitgraph/read/iterators.go
parentformat/commitgraph: Remove MT-ReadSafe; use MT-Safe/Unsafe (diff)
signatureNo signature
format/commitgraph: Trim redundant MT-Safe's
Diffstat (limited to 'format/commitgraph/read/iterators.go')
-rw-r--r--format/commitgraph/read/iterators.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/format/commitgraph/read/iterators.go b/format/commitgraph/read/iterators.go
index f8731526..0e31f7e5 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: MT-Safe, Life-Parent.
+// Labels: 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: MT-Safe, Life-Parent.
+// Labels: Life-Parent.
func (reader *Reader) AllOIDs() iter.Seq[objectid.ObjectID] {
return func(yield func(objectid.ObjectID) bool) {
positions := reader.AllPositions()