feat(disk)!: handle multiple disks at once

This commit is contained in:
szbmrk
2026-02-04 12:34:32 +01:00
parent 06484547d1
commit ca0b068ad8
3 changed files with 152 additions and 73 deletions
+4 -1
View File
@@ -4,6 +4,7 @@
#include <sys/statvfs.h>
#include <fstream>
#include <vector>
#include "ALabel.hpp"
#include "util/format.hpp"
@@ -19,7 +20,9 @@ class Disk : public ALabel {
private:
util::SleeperThread thread_;
std::string path_;
std::string header_;
std::vector<std::string> paths_;
std::string separator_;
std::string unit_;
float calc_specific_divisor(const std::string divisor);