17 static constexpr int kLines = 8;
25 m_path (
std::move(path)),
40 m_path (
std::move(path)),
49 FileSystemInfo(QStringList::const_iterator &it,
const QStringList::const_iterator& end)
59 QString
getPath()
const {
return m_path; }
73 void setPath(QString path) { m_path = std::move(path); }
88 const QStringList::const_iterator& listend);
void setWeight(int weight)
QString getHostname() const
void setHostname(QString hostname)
int64_t getTotalSpace() const
void setPath(QString path)
void setUsedSpace(int64_t size)
FileSystemInfo(const QStringList &slist)
FileSystemInfo(QString hostname, QString path, int groupid=-1)
FileSystemInfo(QString hostname, QString path, bool local, int fsid, int groupid, int blksize, int64_t total, int64_t used)
int64_t getUsedSpace() const
FileSystemInfo(QStringList::const_iterator &it, const QStringList::const_iterator &end)
int64_t getFreeSpace() const
Class for communcating between myth backends and frontends.
QVector< FileSystemInfo > FileSystemInfoList
MBASE_PUBLIC FileSystemInfoList GetInfoList(MythSocket *sock=nullptr)
MBASE_PUBLIC QStringList ToStringList(const FileSystemInfoList &fsInfos)
MBASE_PUBLIC FileSystemInfoList FromStringList(const QStringList &list)
MBASE_PUBLIC void Consolidate(FileSystemInfoList &disks, bool merge, int64_t fuzz, const QString &total_name={})