diff options
| author | 2026-03-28 17:20:34 +0000 | |
|---|---|---|
| committer | 2026-03-28 17:20:34 +0000 | |
| commit | 7654ba81596ef40b3044658346cc6377def4ef56 (patch) | |
| tree | 4158f6ec3706b47f6abb008f892ec8f99c7cd589 /format/commitgraph/read/iterators.go | |
| parent | format/commitgraph/read: Update docs (diff) | |
| signature | No signature | |
format/commitgraph/read: Lifetime
Diffstat (limited to 'format/commitgraph/read/iterators.go')
| -rw-r--r-- | format/commitgraph/read/iterators.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/format/commitgraph/read/iterators.go b/format/commitgraph/read/iterators.go index 85c56ff1..0e31f7e5 100644 --- a/format/commitgraph/read/iterators.go +++ b/format/commitgraph/read/iterators.go @@ -8,6 +8,8 @@ import ( ) // AllPositions iterates all commit positions in native layer order. +// +// Labels: Life-Parent. func (reader *Reader) AllPositions() iter.Seq[Position] { return func(yield func(Position) bool) { for layerIdx := range reader.layers { @@ -28,6 +30,8 @@ func (reader *Reader) AllPositions() iter.Seq[Position] { } // AllOIDs iterates all commit object IDs in native layer order. +// +// Labels: Life-Parent. func (reader *Reader) AllOIDs() iter.Seq[objectid.ObjectID] { return func(yield func(objectid.ObjectID) bool) { positions := reader.AllPositions() |
