Mercurial > hg > orthanc
comparison OrthancServer/Sources/ServerContext.h @ 5048:22966345eaba
skip StorageCache when verifying md5 or when re-compressing attachments
author | Alain Mazy <am@osimis.io> |
---|---|
date | Wed, 29 Jun 2022 13:15:20 +0200 |
parents | 8fba26292a9f |
children | d4e5ca0c9307 |
comparison
equal
deleted
inserted
replaced
5047:207f259c41c5 | 5048:22966345eaba |
---|---|
368 // This method is for low-level operations on "/instances/.../attachments/..." | 368 // This method is for low-level operations on "/instances/.../attachments/..." |
369 void ReadAttachment(std::string& result, | 369 void ReadAttachment(std::string& result, |
370 int64_t& revision, | 370 int64_t& revision, |
371 const std::string& instancePublicId, | 371 const std::string& instancePublicId, |
372 FileContentType content, | 372 FileContentType content, |
373 bool uncompressIfNeeded); | 373 bool uncompressIfNeeded, |
374 bool skipCache = false); | |
374 | 375 |
375 void SetStoreMD5ForAttachments(bool storeMD5); | 376 void SetStoreMD5ForAttachments(bool storeMD5); |
376 | 377 |
377 bool IsStoreMD5ForAttachments() const | 378 bool IsStoreMD5ForAttachments() const |
378 { | 379 { |