diff options
Diffstat (limited to 'commitgraph/read/reader.go')
| -rw-r--r-- | commitgraph/read/reader.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/commitgraph/read/reader.go b/commitgraph/read/reader.go index 922d459b..ab68f31c 100644 --- a/commitgraph/read/reader.go +++ b/commitgraph/read/reader.go @@ -5,6 +5,8 @@ import "codeberg.org/lindenii/furgit/objectid" // Reader provides read-only access to one mmap-backed commit-graph snapshot. // // It is safe for concurrent read-only queries. +// Values returned by Reader methods are only valid until the reader is closed +// when explicitly documented on that method. type Reader struct { algo objectid.Algorithm hashVersion uint8 |
