method
Store.ApplyArtifacts
Validate complete immutable history, take the fenced lease, and apply pending work.
Arguments
| Argument | Type | Description |
|---|---|---|
ctx | context.Context | The ctx value. |
directory | string | The directory value. |
transforms | []migration.DataTransform | The transforms value. |
Returns
The declared result.
errorHow it works
The lifecycle is forward-only: there are no down, reset, refresh, or fresh methods. Correct forward with another reviewed artifact or restore a matched database-and-upload recovery point.
Full signature
func (backend *Store) ApplyArtifacts(
ctx context.Context,
directory string,
transforms ...ridumigration.DataTransform,
) errorRelated types
StoreA replica-set implementation of Ridu’s document, snapshot, auth, preference, task, lock, upload, readiness, and migration contracts.
DataTransformExecutable up and down callbacks bound to an immutable descriptor.