Expand description
Formatting utilities for UI display.
This module provides functions for formatting package details, byte sizes, and other UI elements into human-readable strings and ratatui lines.
Functionsยง
- format_
bytes - What: Format bytes into human-readable string with appropriate unit.
- format_
details_ lines - What: Format the current
AppState::detailsinto themedratatuilines. - format_
signed_ bytes - What: Format signed bytes into human-readable string with +/- prefix.
- human_
bytes - What: Format a byte count using binary units with one decimal place.