| 55 | } |
| 56 | |
| 57 | void ZipFile::addDirectory(const openstudio::path& localDir, const openstudio::path& destinationDir) { |
| 58 | // following conventions in openstudio::copyDirectory |
| 59 | |
| 60 | for (const auto& file : openstudio::filesystem::recursive_directory_files(localDir)) { |
| 61 | const auto srcItemPath = localDir / file; |
| 62 | const auto dstItemPath = destinationDir / file; |
| 63 | addFile(srcItemPath, dstItemPath); |
| 64 | } |
| 65 | } |
| 66 | |
| 67 | } // namespace openstudio |
no test coverage detected