aboutsummaryrefslogtreecommitdiff
path: root/format/commitgraph/read/commits.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/commits.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/commits.go')
-rw-r--r--format/commitgraph/read/commits.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/format/commitgraph/read/commits.go b/format/commitgraph/read/commits.go
index e0a299e7..48984ecb 100644
--- a/format/commitgraph/read/commits.go
+++ b/format/commitgraph/read/commits.go
@@ -15,8 +15,6 @@ type Commit struct {
}
// NumCommits returns total commits across loaded layers.
-//
-// Labels: MT-Safe.
func (reader *Reader) NumCommits() uint32 {
return reader.total
}