mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-25 10:15:43 +08:00
refs #715 When loading data cache, prune revision file to remove keys that weren't found.
This commit is contained in:
@@ -104,7 +104,7 @@ namespace BlackMisc
|
||||
LockGuard beginUpdate(const QMap<QString, qint64> ×tamps, bool updateUuid = true, bool pinsOnly = false);
|
||||
|
||||
//! During update, writes a new revision file with new timestamps.
|
||||
void writeNewRevision(const QMap<QString, qint64> ×tamps);
|
||||
void writeNewRevision(const QMap<QString, qint64> ×tamps, const QSet<QString> &excludeKeys = {});
|
||||
|
||||
//! Release the revision file lock and mark everything up-to-date (called by LockGuard destructor).
|
||||
//! \param keepPromises Don't break pending promises.
|
||||
|
||||
Reference in New Issue
Block a user