Lines Matching refs:versionId
18 void storeToFile(const std::string& versionId, uint8_t priority) in storeToFile() argument
28 auto varPath = PERSIST_DIR + versionId; in storeToFile()
33 if (std::filesystem::is_directory(PNOR_RW_PREFIX + versionId)) in storeToFile()
36 auto rwPath = PNOR_RW_PREFIX + versionId + "/" + versionId; in storeToFile()
43 std::string serviceFile = "obmc-flash-bmc-setenv@pnor\\x2d" + versionId + in storeToFile()
51 bool restoreFromFile(const std::string& versionId, uint8_t& priority) in restoreFromFile() argument
53 auto varPath = PERSIST_DIR + versionId; in restoreFromFile()
69 auto rwPath = PNOR_RW_PREFIX + versionId + "/" + versionId; in restoreFromFile()
95 std::string versionVar = "pnor-" + versionId + "="; in restoreFromFile()
114 void removeFile(const std::string& versionId) in removeFile() argument
120 "obmc-flash-bmc-setenv@pnor\\x2d" + versionId + ".service"; in removeFile()
130 std::string path = PERSIST_DIR + versionId; in removeFile()