* @brief Adds projectEpoch (monotonic mutation counter) to @p result. */
| 223 | * @brief Adds projectEpoch (monotonic mutation counter) to @p result. |
| 224 | */ |
| 225 | static void attachProjectEpoch(QJsonObject& result) |
| 226 | { |
| 227 | result[QStringLiteral("projectEpoch")] = |
| 228 | static_cast<qint64>(DataModel::ProjectModel::instance().mutationEpoch()); |
| 229 | } |
| 230 | |
| 231 | /** |
| 232 | * @brief Snapshot of the project epoch before a mutating handler runs. |
no test coverage detected