#ifndef COMMON_STEP_RDS_STEP_RDS_MODIFY_H_
#define COMMON_STEP_RDS_STEP_RDS_MODIFY_H_
-#include <boost/filesystem.hpp>
#include <common/step/step.h>
+
+#include <filesystem>
#include <string>
#include <utility>
#include <vector>
DELETE
};
- bool AddFiles(boost::filesystem::path unzip_path,
- boost::filesystem::path install_path);
- bool ModifyFiles(boost::filesystem::path unzip_path,
- boost::filesystem::path install_path);
- bool DeleteFiles(boost::filesystem::path install_path);
+ bool AddFiles(std::filesystem::path unzip_path,
+ std::filesystem::path install_path);
+ bool ModifyFiles(std::filesystem::path unzip_path,
+ std::filesystem::path install_path);
+ bool DeleteFiles(std::filesystem::path install_path);
bool SetUpTempBackupDir();
void DeleteTempBackupDir();
bool PerformBackup(std::string relative_path, Operation operation);
void RestoreFiles();
std::vector<std::pair<std::string, Operation>> success_modifications_;
- boost::filesystem::path backup_temp_dir_;
+ std::filesystem::path backup_temp_dir_;
std::vector<std::string> files_to_modify_;
std::vector<std::string> files_to_add_;
std::vector<std::string> files_to_delete_;