Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConsecutiveExtentIter ¶ added in v1.56.0
type Index ¶
type Index struct {
// contains filtered or unexported fields
}
func NewIndex ¶
func NewIndex(segments LengthIter) (ret Index)
func NewIndexFromSegments ¶ added in v1.56.0
func (Index) LocateIter ¶ added in v1.59.0
func (Index) LocateOffset ¶ added in v1.59.0
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 ¶ added in v1.59.0
type LengthIter ¶
Click to show internal directories.
Click to hide internal directories.