Versions in this module Expand all Collapse all v1 v1.1.0 Oct 31, 2026 Changes in this version + var ErrNotFound = errors.New("history record not found") + func DefaultPath() string + func Redact(dsn string) string + type Filter struct + Connection string + Kind Kind + Limit int + type Kind string + const KindComparison + const KindInspection + const KindMigration + const KindPatch + type Record struct + CreatedAt time.Time + Dialect string + Error string + ID string + Kind Kind + Parent string + Payload json.RawMessage + Reference string + Schemas []string + Status Status + Summary map[string]int + Target string + func (r *Record) Complete(value any, err error) error + type Status string + const StatusFailed + const StatusSucceeded + type Store struct + func Open(path string) (*Store, error) + func (s *Store) Claim(ctx context.Context, id string) error + func (s *Store) Close() error + func (s *Store) Control(_ context.Context, id string, action clickytask.ControlAction) error + func (s *Store) Get(ctx context.Context, id string) (Record, error) + func (s *Store) Has(ctx context.Context, id string) (bool, error) + func (s *Store) List(ctx context.Context, filter Filter) ([]Record, error) + func (s *Store) Runs(ctx context.Context, filter clickytask.RunFilter) (_ []clickytask.RunMeta, returnErr error) + func (s *Store) Save(ctx context.Context, r Record) error + func (s *Store) SaveRun(ctx context.Context, groupID string, snapshots []clickytask.TaskSnapshot) error + func (s *Store) Snapshot(ctx context.Context, id string) ([]clickytask.TaskSnapshot, error)