Merge pull request #4762 from szbmrk/feat-multiple-disks

feat(disk)!: handle multiple disks at once
This commit is contained in:
Alexis Rouillard
2026-07-03 23:42:55 +02:00
committed by GitHub
3 changed files with 151 additions and 72 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);