Skip to main content

Module utils

Module utils 

Source

Structs§

RomGroup
One game entry for list display: same name (base + updates/DLC) shown once.

Functions§

format_size
Human-readable file size.
group_roms_by_name
Group ROMs by game name; primary is the “base” file (prefer over "[Update]" / "[DLC]" tags in fs_name when present).
sanitize_filename
Make a filename safe for the local filesystem.
truncate
Truncate a string to max chars, appending “…” if trimmed.