mirror of
https://github.com/morluto/rea.git
synced 2026-11-24 13:18:39 +00:00
Finding the largest files in an archive meant reading every occurrence and sorting client-side, which for a jar of 28,671 entries is tens of megabytes of rows. Add order_by with field declared_size or compressed_size and an ascending or descending direction. Selected rows are ordered before paging; unknown sizes, such as directories, come last in either direction and ties keep inventory order. The container's own "." row carries its size, so the description points at path_globs ["**"] to rank only its entries. Co-Authored-By: gensokyo-dev <342580529+gensokyo-dev@users.noreply.github.com>