feat: implemented sysfs reader class, added new trim method to clean strings

This commit is contained in:
unai committed 2026-03-10 16:30:03 +00:00
1 parent f04de7ea34
commit 6e1cdec81f
2 files changed
+45

No files matched your search

+4
View File
@@ -36,5 +36,9 @@ class SysfsReader
SysfsStatus read_status() const;
private:
/// @brief Helper method for trimming trailing whitespaces and
/// newline indicators
/// @param String from the m_path file
static void trim_in_place(std::string& string);
std::filesystem::path m_path; // Path to the input file.
};