| 83 | } |
| 84 | |
| 85 | MdfBlock *Mdf4File::Find(int64_t id) const { |
| 86 | if (id_block_) { |
| 87 | auto *p = id_block_->Find(id); |
| 88 | if (p != nullptr) { |
| 89 | return p; |
| 90 | } |
| 91 | } |
| 92 | if (hd_block_) { |
| 93 | auto *p = hd_block_->Find(id); |
| 94 | if (p != nullptr) { |
| 95 | return p; |
| 96 | } |
| 97 | } |
| 98 | return nullptr; |
| 99 | } |
| 100 | |
| 101 | void Mdf4File::Attachments(AttachmentList &dest) const { |
| 102 | if (!hd_block_) { |
no outgoing calls
no test coverage detected