Mercurial > dedupe
diff MemoryDBLink.hpp @ 92:f49023c61dac
Support for bulk insertion.
| author | Tom Fredrik Blenning Klaussen <bfg@bfgconsult.no> |
|---|---|
| date | Mon, 21 Oct 2013 20:03:39 +0200 |
| parents | af7962f3274b |
| children | 6c6f3a5f96ea |
line wrap: on
line diff
--- a/MemoryDBLink.hpp Mon Oct 21 16:21:54 2013 +0200 +++ b/MemoryDBLink.hpp Mon Oct 21 20:03:39 2013 +0200 @@ -15,9 +15,11 @@ QStringList toStringList(); virtual void addFile(const QString& path, quint64 size, - const QDateTime& dtime, const QByteArray& hash); + const QDateTime& dtime, const QByteArray& hash, + bool lazy = false); virtual void updateFile(const QString& path, quint64 size, - const QDateTime& dtime, const QByteArray& hash); + const QDateTime& dtime, const QByteArray& hash, + bool lazy = false); DBStatus existsWithMtime(const QString& path, const QDateTime& mtime); const QList<dbinf_ptr_t > values(const QString& prefix = QString() ) const;
