#include "common/dependency_checker.h"
-#include <boost/filesystem/path.hpp>
-
#include <pkgmgr-info.h>
#include <manifest_parser/utils/logging.h>
#include <tpk_manifest_handlers/package_handler.h>
#include <tpk_manifest_handlers/tpk_config_parser.h>
+#include <filesystem>
#include <map>
#include <memory>
#include <tuple>
#include "common/archive_info.h"
#include "common/utils/pkgmgr_query.h"
-namespace bf = boost::filesystem;
-
+namespace fs = std::filesystem;
using Dependency = std::tuple<std::string, std::string, std::string>;
namespace {
std::string pkgid = pkgmgr_->GetRequestInfo(installer->GetIndex());
PkgQueryInterface pkg_query(pkgid, pkgmgr_->GetUid());
- bf::path xml_path =
- bf::path(getUserManifestPath(pkgmgr_->GetUid(), true)) /
- bf::path(pkgid + ".xml");
+ fs::path xml_path =
+ fs::path(getUserManifestPath(pkgmgr_->GetUid(), true)) /
+ fs::path(pkgid + ".xml");
- if (!bf::exists(xml_path)) {
+ if (!fs::exists(xml_path)) {
error_ = "xml path is not exist";
return false;
}