Versions in this module Expand all Collapse all v0 v0.6.76 Nov 22, 2026 Changes in this version + const DefaultChunkSize + const DefaultCompactThreshold + type Option func(*Store) + func WithChunkSize(n int) Option + func WithClock(now func() time.Time) Option + func WithCompactThreshold(n int) Option + type Page struct + Entities []*devboxv1.AcpEntity + HasMore bool + NextPosition uint64 + type Store struct + func Memory(opts ...Option) *Store + func New(b *blob.Bucket, opts ...Option) *Store + func Open(dir string, opts ...Option) (*Store, error) + func (s *Store) Append(ctx context.Context, entities []*devboxv1.AcpEntity) error + func (s *Store) Close() error + func (s *Store) Compact(ctx context.Context, session string) error + func (s *Store) CompactAll(ctx context.Context, force bool) error + func (s *Store) Reset(ctx context.Context) error + func (s *Store) Timeline(ctx context.Context, session string, after uint64, limit int, ...) (*Page, error) + func (s *Store) TimelineBefore(ctx context.Context, session string, before uint64, limit int, ...) (*Page, error)