Versions in this module Expand all Collapse all v0 v0.1.0 Jun 27, 2026 Changes in this version + const DefaultBuildBatchSize + var Algorithms = []string + var ErrInvalidHex = errors.New("invalid hex hash") + var ErrSchemaMismatch = errors.New("hashset: schema version mismatch (rebuild via Build)") + var ErrUnknownAlgo = errors.New("unknown hash algorithm") + var LineLengthToAlgo = map[int]string + func Build(r io.Reader, outPath string, opts BuildOpts) error + type BuildOpts struct + BatchSize int + Format string + Progress func(total int64) + type Set interface + Close func() error + Contains func(algo, hexHash string) bool + Counts func() map[string]int + func LoadText(r io.Reader) (Set, error) + func LoadTextFile(path string) (Set, error) + func NewMemory() Set + func Open(path string) (Set, error) + func OpenBolt(path string) (Set, error)