Versions in this module Expand all Collapse all v1 v1.0.2 Nov 11, 2024 v1.0.1 Oct 14, 2024 Changes in this version + var ProjectEverything = &KeySummaryProjection + func GetValue(filename string, key string, version int64) ([]byte, error) + func ListVersions(filename string, key string) ([]int64, error) + type Checksum struct + CompactRevision int64 + Hash uint32 + Revision int64 + func HashByRevision(filename string, revision int64) (Checksum, error) + type ConstraintOp int + const Equals + func (co ConstraintOp) String() string + type FieldConstraint struct + func (fc *FieldConstraint) BuildFilter() (*FieldFilter, error) + func (fc *FieldConstraint) String() string + type FieldFilter struct + func (ff *FieldFilter) Accept(ks *KeySummary) (bool, error) + type Filter interface + Accept func(ks *KeySummary) (bool, error) + func ParseFilters(filters string) ([]Filter, error) + type KeySummary struct + Key string + Stats *KeySummaryStats + TypeMeta *runtime.TypeMeta + Value interface{} + Version int64 + func ListKeySummaries(codecs serializer.CodecFactory, filename string, filters []Filter, ...) ([]*KeySummary, error) + func (ks *KeySummary) ValueJson() string + type KeySummaryProjection struct + HasKey bool + HasValue bool + type KeySummaryStats struct + AllVersionsKeySize int + AllVersionsValueSize int + KeySize int + ValueSize int + VersionCount int + type PrefixFilter struct + func NewPrefixFilter(prefix string) *PrefixFilter + func (ff *PrefixFilter) Accept(ks *KeySummary) (bool, error)