Versions in this module Expand all Collapse all v0 v0.0.1 Jan 26, 2023 Changes in this version + func Checksum(c rom.Checksum) func(*Synchronizer) error + func DryRun(v bool) func(*Synchronizer) error + func Logger(logger *log.Logger) func(*Synchronizer) error + func Missing(r io.Reader) func(*Synchronizer) error + func Workers(count int) func(*Synchronizer) error + type DB struct + type Synchronizer struct + func NewSynchronizer(options ...func(*Synchronizer) error) (*Synchronizer, error) + func (s *Synchronizer) Delete(dir string, datfile *dat.File) error + func (s *Synchronizer) Reset() + func (s *Synchronizer) Rx() uint64 + func (s *Synchronizer) Scan(dirs ...string) (*DB, error) + func (s *Synchronizer) SetChecksum(c rom.Checksum) error + func (s *Synchronizer) SetDryRun(v bool) error + func (s *Synchronizer) SetLogger(logger *log.Logger) error + func (s *Synchronizer) SetMissing(r io.Reader) error + func (s *Synchronizer) SetWorkers(count int) error + func (s *Synchronizer) Tx() uint64 + func (s *Synchronizer) Update(dir string, datfile *dat.File, db *DB) error