libzypp
10.5.0
|
Mount point description. More...
#include <DiskUsageCounter.h>
Public Member Functions | |
MountPoint (std::string d="/", long long bs=0LL, long long total=0LL, long long used=0LL, long long pkg=0LL, bool ro=false) | |
Ctor - initialize directory and package size. | |
bool | operator< (const MountPoint &rhs) const |
ByteCount | blockSize () const |
ByteCount | totalSize () const |
ByteCount | usedSize () const |
ByteCount | freeSize () const |
ByteCount | usedAfterCommit () const |
ByteCount | freeAfterCommit () const |
ByteCount | commitDiff () const |
Public Attributes | |
std::string | dir |
Directory name. | |
long long | block_size |
Block size of the mount point. | |
long long | total_size |
Total size in K (1024) | |
long long | used_size |
Used size in K (1024) | |
long long | pkg_size |
Used size after commiting the pool (in K) | |
bool | readonly |
Related Functions | |
(Note that these are not member functions.) | |
std::ostream & | operator<< (std::ostream &str, const DiskUsageCounter::MountPoint &obj) |
Mount point description.
Definition at line 33 of file DiskUsageCounter.h.
zypp::DiskUsageCounter::MountPoint::MountPoint | ( | std::string | d = "/" , |
long long | bs = 0LL , |
||
long long | total = 0LL , |
||
long long | used = 0LL , |
||
long long | pkg = 0LL , |
||
bool | ro = false |
||
) | [inline] |
Ctor - initialize directory and package size.
Definition at line 65 of file DiskUsageCounter.h.
bool zypp::DiskUsageCounter::MountPoint::operator< | ( | const MountPoint & | rhs | ) | const [inline] |
Definition at line 70 of file DiskUsageCounter.h.
ByteCount zypp::DiskUsageCounter::MountPoint::blockSize | ( | ) | const [inline] |
Definition at line 75 of file DiskUsageCounter.h.
ByteCount zypp::DiskUsageCounter::MountPoint::totalSize | ( | ) | const [inline] |
Definition at line 78 of file DiskUsageCounter.h.
ByteCount zypp::DiskUsageCounter::MountPoint::usedSize | ( | ) | const [inline] |
Definition at line 81 of file DiskUsageCounter.h.
ByteCount zypp::DiskUsageCounter::MountPoint::freeSize | ( | ) | const [inline] |
Definition at line 84 of file DiskUsageCounter.h.
ByteCount zypp::DiskUsageCounter::MountPoint::usedAfterCommit | ( | ) | const [inline] |
Definition at line 87 of file DiskUsageCounter.h.
ByteCount zypp::DiskUsageCounter::MountPoint::freeAfterCommit | ( | ) | const [inline] |
Definition at line 90 of file DiskUsageCounter.h.
ByteCount zypp::DiskUsageCounter::MountPoint::commitDiff | ( | ) | const [inline] |
Definition at line 93 of file DiskUsageCounter.h.
std::ostream & operator<< | ( | std::ostream & | str, |
const DiskUsageCounter::MountPoint & | obj | ||
) | [related] |
Stream output
Definition at line 293 of file DiskUsageCounter.cc.
std::string zypp::DiskUsageCounter::MountPoint::dir |
Directory name.
Definition at line 38 of file DiskUsageCounter.h.
Block size of the mount point.
Definition at line 43 of file DiskUsageCounter.h.
Total size in K (1024)
Definition at line 48 of file DiskUsageCounter.h.
Used size in K (1024)
Definition at line 53 of file DiskUsageCounter.h.
long long zypp::DiskUsageCounter::MountPoint::pkg_size [mutable] |
Used size after commiting the pool (in K)
Definition at line 58 of file DiskUsageCounter.h.
Definition at line 60 of file DiskUsageCounter.h.