#ifndef COMMON_GLOBAL_RECOVERY_FILE_H_
#define COMMON_GLOBAL_RECOVERY_FILE_H_
-#include <boost/filesystem/path.hpp>
-
+#include <filesystem>
#include <string>
#include <vector>
#include "common/pkgmgr_interface.h"
-namespace bf = boost::filesystem;
+namespace fs = std::filesystem;
namespace common_installer {
std::string AddPathWithType(const std::string& pkg_type);
- bool AppendPath(const bf::path& additional_path);
+ bool AppendPath(const fs::path& additional_path);
bool AppendCleanUp();
private:
bool AppendString(const std::string& val);
- bf::path GenerateRecoveryFilePath(
- const bf::path& path,
+ fs::path GenerateRecoveryFilePath(
+ const fs::path& path,
const std::string& type);
std::shared_ptr<common_installer::PkgMgrInterface> pkgmgr_;
- bf::path recovery_filepath_;
- bf::path backup_path_;
+ fs::path recovery_filepath_;
+ fs::path backup_path_;
std::vector<std::string> recovery_list_;
};