StorageUsageByteMapper

Maps raw storage counters into byte values that should be visible in usage UI.

Filesystem counters stay honest at the platform boundary, while UI can hide platform bookkeeping noise such as tiny empty-directory sizes that do not represent user-created data.

Author

Dmitriy Moroz

Inheritors

Functions

Link copied to clipboard
open fun mapStorageBytesForUi(bytes: Long): Long

Converts a raw storage counter into a user-visible amount.