refs #664 Use timestamps from .rev file instead of the filesystem timestamps of the json files.

This commit is contained in:
Mathew Sutcliffe
2016-05-26 18:03:21 +01:00
parent 4bc8326389
commit d0d100da5e
4 changed files with 25 additions and 0 deletions

View File

@@ -117,6 +117,9 @@ namespace BlackMisc
//! During update, returns keys which have on-disk timestamps newer than in-memory. Guaranteed not empty.
QSet<QString> keysWithNewerTimestamps() const;
//! During update, returns timestamps which have on-disk timestamps newer than in-memory. Guaranteed not empty.
const QMap<QString, qint64> &newerTimestamps() const;
//! During update, returns true if the on-disk timestamp of this key is newer than in-memory.
bool isNewerValueAvailable(const QString &key, qint64 timestamp);