Matt Spinler | df13bdb | 2019-07-10 16:54:13 -0500 | [diff] [blame^] | 1 | #include "config.h" |
2 | |||||
3 | #include "paths.hpp" | ||||
4 | |||||
5 | #include <filesystem> | ||||
6 | |||||
7 | namespace openpower | ||||
8 | { | ||||
9 | namespace pels | ||||
10 | { | ||||
11 | |||||
12 | namespace fs = std::filesystem; | ||||
13 | |||||
14 | fs::path getPELIDFile() | ||||
15 | { | ||||
16 | fs::path logIDPath{EXTENSION_PERSIST_DIR}; | ||||
17 | logIDPath /= fs::path{"pels"} / fs::path{"pelID"}; | ||||
18 | return logIDPath; | ||||
19 | } | ||||
20 | |||||
21 | } // namespace pels | ||||
22 | |||||
23 | } // namespace openpower |