CCIMXDesktop
 
Loading...
Searching...
No Matches
DiskUsage Namespace Reference

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.
 

Detailed Description

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.

Function Documentation

◆ queryOnce()

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.

Returns
A MetaInfo structure containing the queried disk usage details.