libzypp
13.10.6
|
#include <DiskUsageCounter.h>
Classes | |
struct | MountPoint |
Mount point description. More... | |
Public Types | |
typedef std::set< MountPoint > | MountPointSet |
Public Member Functions | |
DiskUsageCounter () | |
DiskUsageCounter (const MountPointSet &m) | |
bool | setMountPoints (const MountPointSet &m) |
const MountPointSet & | getMountPoints () const |
MountPointSet | disk_usage (const ResPool &pool) |
Compute disk usage of the pool. More... | |
MountPointSet | disk_usage (sat::Solvable solv_r) |
Compute disk usage of one solvable. More... | |
MountPointSet | disk_usage (const PoolItem &pi_r) |
MountPointSet | disk_usage (const ResObject::constPtr &obj_r) |
Static Public Member Functions | |
static MountPointSet | detectMountPoints (const std::string &rootdir="/") |
static MountPointSet | justRootPartition () |
Private Attributes | |
MountPointSet | mps |
Definition at line 25 of file DiskUsageCounter.h.
typedef std::set<MountPoint> zypp::DiskUsageCounter::MountPointSet |
Definition at line 97 of file DiskUsageCounter.h.
|
inline |
Definition at line 99 of file DiskUsageCounter.h.
|
inline |
Definition at line 102 of file DiskUsageCounter.h.
|
inline |
Definition at line 106 of file DiskUsageCounter.h.
|
inline |
Definition at line 112 of file DiskUsageCounter.h.
|
static |
Definition at line 135 of file DiskUsageCounter.cc.
|
static |
Definition at line 289 of file DiskUsageCounter.cc.
DiskUsageCounter::MountPointSet zypp::DiskUsageCounter::disk_usage | ( | const ResPool & | pool | ) |
Compute disk usage of the pool.
Definition at line 108 of file DiskUsageCounter.cc.
DiskUsageCounter::MountPointSet zypp::DiskUsageCounter::disk_usage | ( | sat::Solvable | solv_r | ) |
Compute disk usage of one solvable.
Definition at line 123 of file DiskUsageCounter.cc.
|
inline |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
Definition at line 131 of file DiskUsageCounter.h.
|
inline |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
Definition at line 134 of file DiskUsageCounter.h.
|
private |
Definition at line 143 of file DiskUsageCounter.h.