Compute disk space occupied by packages across partitions/directories.
More...
#include <DiskUsageCounter.h>
|
| class | MountPoint |
| | Mount point description If block_size is set DiskUsageCoutner will assume half a block_size is wasted per file, in case a package provides detailed isk usage information. More...
|
| |
|
(Note that these are not member symbols.)
|
| std::ostream & | operator<< (std::ostream &str, const DiskUsageCounter &obj) |
| | Stream output.
|
| |
Compute disk space occupied by packages across partitions/directories.
Definition at line 31 of file DiskUsageCounter.h.
◆ MountPointSet
◆ DiskUsageCounter() [1/2]
| zypp::DiskUsageCounter::DiskUsageCounter |
( |
| ) |
|
|
inline |
◆ DiskUsageCounter() [2/2]
| zypp::DiskUsageCounter::DiskUsageCounter |
( |
const MountPointSet & |
mps_r | ) |
|
|
inline |
◆ setMountPoints()
| void zypp::DiskUsageCounter::setMountPoints |
( |
const MountPointSet & |
mps_r | ) |
|
|
inline |
◆ getMountPoints()
| const MountPointSet & zypp::DiskUsageCounter::getMountPoints |
( |
| ) |
const |
|
inline |
◆ detectMountPoints()
Get mountpoints of system below rootdir If we happen to detect snapshotting btrfs partitions, the MountPoint::growonly hint is set.
Disk usage computation will assume that deleted packages will not free any space (kept in a snapshot).
Definition at line 129 of file DiskUsageCounter.cc.
◆ justRootPartition()
◆ disk_usage() [1/6]
Compute disk usage if the current transaction woud be commited.
Definition at line 92 of file DiskUsageCounter.cc.
◆ disk_usage() [2/6]
◆ disk_usage() [3/6]
◆ disk_usage() [4/6]
◆ disk_usage() [5/6]
Compute disk usage of a collection defined by a solvable bitmap.
Definition at line 120 of file DiskUsageCounter.cc.
◆ disk_usage() [6/6]
template<class Iterator >
| MountPointSet zypp::DiskUsageCounter::disk_usage |
( |
Iterator |
begin_r, |
|
|
Iterator |
end_r |
|
) |
| const |
|
inline |
Compute disk usage of a collection (convertible by asSolvable).
Definition at line 199 of file DiskUsageCounter.h.
◆ operator<<()
◆ _mps
The documentation for this class was generated from the following files: