forked from Mirrors/flatpak-builder
Improve display of partial extension sizes
The installed size in the metadata refers to the full extension. If we have subpaths, the actual installed size may be much smaller. Unfortunately, it appears hard to obtain the actual size, so just hint at this fact by displaying a '<' before the size.tingping/wmclass
parent
3b57b65205
commit
7ad15edb62
|
@ -204,7 +204,7 @@ flatpak_builtin_info (int argc, char **argv, GCancellable *cancellable, GError *
|
|||
g_autofree char *formatted = NULL;
|
||||
|
||||
formatted = g_format_size (size);
|
||||
g_print (" %s", formatted);
|
||||
g_print (" %s%s", subpaths && subpaths[0] ? "<" : "", formatted);
|
||||
}
|
||||
|
||||
if (subpaths)
|
||||
|
|
Loading…
Reference in New Issue