Provides utilities for querying disk space information. More...
Classes | |
struct | MetaInfo |
Represents metadata about disk space. More... | |
Functions | |
MetaInfo | queryOnce () |
Queries the disk usage information for a default or currently active partition/drive. | |
Provides utilities for querying disk space information.
This namespace encapsulates functionalities related to retrieving details about disk partitions or file systems, such as total space, free space, and available space.
DiskUsage::MetaInfo DiskUsage::queryOnce | ( | ) |
Queries the disk usage information for a default or currently active partition/drive.
This function retrieves a snapshot of the disk's total, free, and available space. The specific disk or partition queried might depend on the operating system's default behavior or an internal configuration not exposed in this header.
MetaInfo
structure containing the queried disk usage details.