Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IndexOptions ¶
type IndexOptions func(*Options)
Represents a function that applies configuration options to an Options instance
func WithAutoCreate ¶
func WithAutoCreate(autoCreate bool) IndexOptions
Option to enable or disable automatic index file creation.
func WithFilePath ¶
func WithFilePath(path string) IndexOptions
Specifies the file path for the store's backing file
func WithMaxIndexBytes ¶
func WithMaxIndexBytes(maxIndexBytes uint64) IndexOptions
Sets the maximum number of bytes for the index file itself.
func WithMemoryMapping ¶
func WithMemoryMapping(use bool) IndexOptions
Enables or disables memory mapping for the index file.
Click to show internal directories.
Click to hide internal directories.