Update database.go

This commit is contained in:
Ocenka 2025-08-04 16:57:11 +01:00 committed by GitHub
parent 517977b76d
commit f5fa72d729
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -152,7 +152,7 @@ type AncientWriter interface {
SyncAncient() error
// TruncateHead discards all but the first n ancient data from the ancient store.
// After the truncation, the latest item can be accessed it item_n-1(start from 0).
// After the truncation, the latest item can be accessed at item_n-1(start from 0).
TruncateHead(n uint64) (uint64, error)
// TruncateTail discards the first n ancient data from the ancient store. The already