16 #ifndef ACSDKASSETSCOMMON_ARCHIVEWRAPPER_H_ 17 #define ACSDKASSETSCOMMON_ARCHIVEWRAPPER_H_ 28 namespace acsdkAssets {
44 static std::shared_ptr<ArchiveWrapper>
getInstance();
66 alexaClientSDK::avsCommon::utils::filesystem::Permissions directoryPermission =
67 alexaClientSDK::avsCommon::utils::filesystem::DEFAULT_DIRECTORY_PERMISSIONS,
68 alexaClientSDK::avsCommon::utils::filesystem::Permissions filePermission =
69 alexaClientSDK::avsCommon::utils::filesystem::DEFAULT_FILE_PERMISSIONS);
81 struct archive* reader,
82 struct archive* writer,
84 alexaClientSDK::avsCommon::utils::filesystem::Permissions directoryPermission =
85 alexaClientSDK::avsCommon::utils::filesystem::DEFAULT_DIRECTORY_PERMISSIONS,
86 alexaClientSDK::avsCommon::utils::filesystem::Permissions filePermission =
87 alexaClientSDK::avsCommon::utils::filesystem::DEFAULT_FILE_PERMISSIONS);
94 static std::shared_ptr<ArchiveWrapper> m_instance;
104 #endif // ACSDKASSETSCOMMON_ARCHIVEWRAPPER_H_ ::std::string string
Definition: gtest-port.h:1097
virtual ~ArchiveWrapper()=default
Whether or not curl logs should be emitted.
Definition: AVSConnectionManager.h:36
Definition: ArchiveWrapper.h:35
size_t sizeOfArchive(const std::string &fileName)
static std::shared_ptr< ArchiveWrapper > getInstance()
bool unpack(const std::string &fileName, const std::string &destFolder, alexaClientSDK::avsCommon::utils::filesystem::Permissions directoryPermission=alexaClientSDK::avsCommon::utils::filesystem::DEFAULT_DIRECTORY_PERMISSIONS, alexaClientSDK::avsCommon::utils::filesystem::Permissions filePermission=alexaClientSDK::avsCommon::utils::filesystem::DEFAULT_FILE_PERMISSIONS)