// Use of this source code is governed by an apache-2.0 license that can be
// found in the LICENSE file.
-#include <boost/filesystem/path.hpp>
-#include <boost/filesystem/operations.hpp>
#include <tzplatform_config.h>
#include <pkgmgr_parser_db.h>
#include <pkgmgr-info.h>
+#include <filesystem>
#include <iostream>
#include <list>
#include <string>
#include "common/utils/file_util.h"
#include "common/utils/subprocess.h"
-namespace bf = boost::filesystem;
namespace ci = common_installer;
+namespace fs = std::filesystem;
namespace {
bool InitPkgDB::RunBackend(const std::string& pkgid,
const std::string& type, bool preload) {
- bf::path backend_path(kBackendDirectoryPath);
+ fs::path backend_path(kBackendDirectoryPath);
backend_path /= type;
ci::Subprocess backend(backend_path.string());
auto params = option_checker_.GetParams(preload, pkgid);