From 2006e2e07f073a79a84194a304e4958a8739d645 Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Sun, 29 Mar 2026 13:26:10 +0000 Subject: format/commitgraph: Remove MT-ReadSafe; use MT-Safe/Unsafe --- format/commitgraph/read/commits.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'format/commitgraph/read/commits.go') diff --git a/format/commitgraph/read/commits.go b/format/commitgraph/read/commits.go index 48984ecb..e0a299e7 100644 --- a/format/commitgraph/read/commits.go +++ b/format/commitgraph/read/commits.go @@ -15,6 +15,8 @@ type Commit struct { } // NumCommits returns total commits across loaded layers. +// +// Labels: MT-Safe. func (reader *Reader) NumCommits() uint32 { return reader.total } -- cgit v1.3.1-10-gc9f91