method

Store.RefreshArtifacts

Atomically reverse and replay committed history.

Arguments

ArgumentTypeDescription
ctxcontext.ContextThe ctx value.
directorystringThe directory value.
transforms[]migration.DataTransformThe transforms value.

Returns

The declared result.

error

Full signature

func (backend *Store) RefreshArtifacts( ctx context.Context, directory string, transforms ...ridumigration.DataTransform, ) error

Source adapters/sqlite/migration_lifecycle.go:78

Related types

  • Store

    A SQLite implementation of Ridu’s document, snapshot, auth, preference, task, lock, version, and migration store contracts.

  • DataTransform

    Executable up and down callbacks bound to an immutable descriptor.