| 208 | } |
| 209 | |
| 210 | void TArchiveWriter::Finish() { |
| 211 | if (Impl_.Get()) { |
| 212 | Impl_->Finish(); |
| 213 | Impl_.Destroy(); |
| 214 | } |
| 215 | } |
| 216 | |
| 217 | void TArchiveWriter::Add(const TString& key, IInputStream* src) { |
| 218 | Y_ENSURE(Impl_.Get(), "archive already closed"); |
no test coverage detected