diff options
author | Simon Gomizelj <simongmzlj@gmail.com> | 2013-07-04 04:34:14 +0200 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2013-07-05 06:32:09 +0200 |
commit | 7b8f8753b15037bf4a88126ffde8195416432c72 (patch) | |
tree | 5ecdbcee0ae18c8b15f8489fdf1e42f6e9fb2655 /lib/libalpm/group.c | |
parent | dcb3b9f85ff8761fa1fe7ef01df2d6b011b9cb73 (diff) | |
download | pacman-7b8f8753b15037bf4a88126ffde8195416432c72.tar.gz pacman-7b8f8753b15037bf4a88126ffde8195416432c72.tar.xz |
Consolidate and improve table implementations
Implement both the VerbosePkgList and the summary message with the same
table.
Improve VerbosePkgList by caching attributes and cell's lengths instead
of recaculating them.
Right align every cell that containing a file size in both the
VerbosePkgList and the summary.
Simplify the printf statements and the alignment application.
Signed-off-by: Simon Gomizelj <simongmzlj@gmail.com>
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'lib/libalpm/group.c')
0 files changed, 0 insertions, 0 deletions