Mercurial > dedupe
diff MemoryDBLink.cpp @ 101:6c6f3a5f96ea
Better support for batch operations.
| author | Tom Fredrik Blenning Klaussen <bfg@bfgconsult.no> |
|---|---|
| date | Thu, 13 Feb 2014 15:19:37 +0100 |
| parents | f49023c61dac |
| children |
line wrap: on
line diff
--- a/MemoryDBLink.cpp Thu Feb 13 14:55:11 2014 +0100 +++ b/MemoryDBLink.cpp Thu Feb 13 15:19:37 2014 +0100 @@ -52,14 +52,15 @@ } -void MemoryDBLink::deleteFileFromDB(const QString& path) +void MemoryDBLink::deleteFileFromDB(const QString& path, bool lazy) { entries.remove(path); } void MemoryDBLink::keepOnlyFromPrefix(const QString& prefix, - const QStringList& files) + const QStringList& files, + bool lazy) { QStringList list; foreach(dbinf_ptr_t info, values(prefix)) {
