#include <manifest_parser/utils/logging.h>
+#include <filesystem>
+
#include "common/installer_context.h"
+#include "common/mount_base.h"
#include "common/step/step.h"
namespace common_installer {
* \brief Responsible for checking existance of mount path to perform
*
*/
-class StepUnmount : public Step {
+class StepUnmount : public MountBase, public Step {
public:
using Step::Step;
+ using MountBase::MountBase;
Status process() override;
Status clean() override { return Status::OK; }
Status undo() override { return Status::OK; }
Status precheck() override { return Status::OK; }
- STEP_NAME(Unmount)
+ protected:
+ std::unique_ptr<IZipInterface> CreateZipInterface(
+ const std::filesystem::path& mount_path) override;
+
+ STEP_NAME(Unmount);
};
} // namespace mount