6#include "phosphorconfig_export.h"
62 QVector<MigrationStep> m_orderedSteps;
bool runOnFile(const QString &jsonPath) const
Read the file at jsonPath, run the chain, and — if the version advanced — atomically write the result...
void stampVersion(QJsonObject &root) const
Stamp root with the schema's current version.
int readVersion(const QJsonObject &root) const
Current version persisted in root, or 1 if unset / invalid.
void runInMemory(QJsonObject &root) const
Apply the full migration chain in memory.
MigrationRunner(const Schema &schema)
MigrationRunner(Schema &&)=delete
Forbid construction from a temporary Schema — the runner stores a const reference,...
Definition HostDirectory.h:19
Declarative description of a configuration store.
Definition Schema.h:127