| 49 | #define MAX_TIME_TO_EXPIRE 1 * 7 * 24 * 60 * 60 |
| 50 | |
| 51 | MetaCacheSink::MetaCacheSink(MetaEntryPtr entry, ChecksumValidator* md5sum, bool is_eternal) |
| 52 | : Net::FileSink(entry->getFullPath()), m_entry(entry), m_md5Node(md5sum), m_is_eternal(is_eternal) |
| 53 | { |
| 54 | addValidator(md5sum); |
| 55 | } |
| 56 | |
| 57 | Task::State MetaCacheSink::initCache(QNetworkRequest& request) |
| 58 | { |
nothing calls this directly
no test coverage detected