#include "common/step/filesystem/step_update_storage_directories.h"
-#include <boost/filesystem/operations.hpp>
-#include <boost/filesystem/path.hpp>
-#include <boost/system/error_code.hpp>
-
+#include <filesystem>
#include <string>
#include <vector>
#include "common/utils/glist_range.h"
#include "common/utils/user_util.h"
-namespace bf = boost::filesystem;
-namespace bs = boost::system;
+namespace fs = std::filesystem;
namespace ci = common_installer;
namespace {
if (!context_->manifest_data.get())
return Status::INVALID_VALUE;
- bf::path path;
+ fs::path path;
if (context_->request_mode.get() == RequestMode::GLOBAL)
- path = bf::path(tzplatform_getenv(TZ_SYS_ETC)) / bf::path(kSkelAppDir) /
+ path = fs::path(tzplatform_getenv(TZ_SYS_ETC)) / fs::path(kSkelAppDir) /
context_->pkgid.get() / kSharedDataDir;
else
- path = bf::path(ci::GetRootAppPath(false, context_->uid.get())) /
+ path = fs::path(ci::GetRootAppPath(false, context_->uid.get())) /
context_->pkgid.get() / kSharedDataDir;
- old_shared_data_exists_ = bf::exists(path);
+ old_shared_data_exists_ = fs::exists(path);
should_create_shared_data_ = ShouldCreateSharedDataDir(
context_->manifest_data.get());