| 482 | } |
| 483 | |
| 484 | void UnZipToFile(const std::string& dst_file_path, |
| 485 | const std::string& zip_file_path, |
| 486 | const std::string& in_zip_file_path, |
| 487 | OverwriteType overwrite) { |
| 488 | if (overwrite == _NO_OVERWRITE && check_exist_file(zip_file_path.c_str()) != 0) { |
| 489 | return; |
| 490 | } |
| 491 | |
| 492 | UnZipFile uf; |
| 493 | uf.Load(zip_file_path); |
| 494 | uf.Extract(in_zip_file_path, dst_file_path, overwrite); |
| 495 | } |
| 496 | |
| 497 | void PrintZipFileInfo(const std::string& zip_file_path) { |
| 498 | UnZipFile uf; |
nothing calls this directly
no test coverage detected