|
FOSSredder 0.5.0
|
Creates ZIP archives for exported analysis artifacts. More...
#include <ZipArchiveAdapter.h>


Public Member Functions | |
| ZipArchiveAdapter (std::shared_ptr< core::ports::diagnostics::IErrorReporter > errorReporter) | |
| bool | create (const std::filesystem::path &sourceDirectory, const std::filesystem::path &outputArchive, core::ports::exporting::PackageFormat format) const override |
| Creates a ZIP archive from the files contained in a source directory. | |
| Public Member Functions inherited from core::ports::archive::IArchive | |
| virtual | ~IArchive ()=default |
| Destroy the archive abstraction. | |
Creates ZIP archives for exported analysis artifacts.
Definition at line 22 of file ZipArchiveAdapter.h.
|
explicit |
Definition at line 100 of file ZipArchiveAdapter.cpp.
|
overridevirtual |
Creates a ZIP archive from the files contained in a source directory.
| sourceDirectory | The directory whose files should be packaged. |
| outputArchive | The target archive file path. |
| format | The requested archive format. |
Implements core::ports::archive::IArchive.
Definition at line 105 of file ZipArchiveAdapter.cpp.