blob: 27e737362d433430cea3853a6073a6764e633721 [file] [log] [blame]
#include "config.h"
#include "paths.hpp"
#include <filesystem>
namespace openpower
{
namespace pels
{
namespace fs = std::filesystem;
fs::path getPELIDFile()
{
fs::path logIDPath{EXTENSION_PERSIST_DIR};
logIDPath /= fs::path{"pels"} / fs::path{"pelID"};
return logIDPath;
}
fs::path getPELRepoPath()
{
std::filesystem::path repoPath{EXTENSION_PERSIST_DIR};
repoPath /= "pels";
return repoPath;
}
} // namespace pels
} // namespace openpower