diff --git a/internal.go b/internal.go index 0b4d75621d..3e32434717 100644 --- a/internal.go +++ b/internal.go @@ -44,6 +44,12 @@ func MakeInternalKey(userKey []byte, seqNum SeqNum, kind InternalKeyKind) Intern return base.MakeInternalKey(userKey, seqNum, kind) } +// MakeInternalKeyTrailer constructs a trailer from a specified sequence number +// and kind. +func MakeInternalKeyTrailer(seqNum SeqNum, kind InternalKeyKind) InternalKeyTrailer { + return base.MakeTrailer(seqNum, kind) +} + type internalIterator = base.InternalIterator type topLevelIterator = base.TopLevelIterator