aboutsummaryrefslogtreecommitdiff
path: root/format/commitgraph/read/hash.go
diff options
context:
space:
mode:
authorGravatar Runxi Yu2026-03-29 13:26:10 +0000
committerGravatar Runxi Yu2026-03-29 13:26:10 +0000
commit2006e2e07f073a79a84194a304e4958a8739d645 (patch)
treefc08391aa0d4693350ce19541ece804db33dc3fe /format/commitgraph/read/hash.go
parentTODO: What does git.sr.ht and tangled need (diff)
signatureNo signature
format/commitgraph: Remove MT-ReadSafe; use MT-Safe/Unsafe
Diffstat (limited to 'format/commitgraph/read/hash.go')
-rw-r--r--format/commitgraph/read/hash.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/format/commitgraph/read/hash.go b/format/commitgraph/read/hash.go
index 3a525afe..4c0e3d2d 100644
--- a/format/commitgraph/read/hash.go
+++ b/format/commitgraph/read/hash.go
@@ -9,6 +9,8 @@ import (
)
// HashVersion returns the commit-graph hash version.
+//
+// Labels: MT-Safe.
func (reader *Reader) HashVersion() uint8 {
return reader.hashVersion
}