Mercurial > dedupe
comparison SqliteDBLink.cpp @ 85:1f9e27a0bd7f
Allow for lazy calculation of checksums, ignore them, if only one file of given size.
| author | Tom Fredrik Blenning Klaussen <bfg@bfgconsult.no> |
|---|---|
| date | Thu, 10 Oct 2013 15:55:30 +0200 |
| parents | 69a30d9f126e |
| children | af7962f3274b |
comparison
equal
deleted
inserted
replaced
| 84:848496a57039 | 85:1f9e27a0bd7f |
|---|---|
| 195 } | 195 } |
| 196 foreach(QString path, list) { | 196 foreach(QString path, list) { |
| 197 deleteFileFromDB(path); | 197 deleteFileFromDB(path); |
| 198 } | 198 } |
| 199 } | 199 } |
| 200 | |
| 201 const QList<FileDBLink::dbinf_ptr_t> | |
| 202 SqliteDBLink::filesWithSize(qint64 size, const QString& prefix) const | |
| 203 { | |
| 204 //This is incredibly inefficient and should be reimplemented | |
| 205 return FileDBLink::filesWithSize(size, prefix); | |
| 206 } | |
| 207 |
