method

Store.FreshArtifacts

Drop non-internal objects and replay committed history atomically.

Arguments

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

Returns

The declared result.

error

Full signature

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

Source adapters/sqlite/migration_lifecycle.go:109

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.