Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConsecutiveExtentIter ¶
type Index ¶
type Index struct {
// contains filtered or unexported fields
}
func NewIndex ¶
func NewIndex(segments LengthIter) (ret Index)
func NewIndexFromSegments ¶
func (Index) LocateOffset ¶
func (me Index) LocateOffset(off int64) (ret g.Option[IndexAndOffset])
Returns the Extent that contains the given extent, if it exists. Panics if Extents overlap on the offset.
type IndexAndOffset ¶
type LengthIter ¶
Click to show internal directories.
Click to hide internal directories.