diff options
author | Simon Gomizelj <simongmzlj@gmail.com> | 2013-07-03 22:34:14 -0400 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2013-07-05 14:32:09 +1000 |
commit | 7b8f8753b15037bf4a88126ffde8195416432c72 (patch) | |
tree | 5ecdbcee0ae18c8b15f8489fdf1e42f6e9fb2655 /src/pacman/upgrade.c | |
parent | dcb3b9f85ff8761fa1fe7ef01df2d6b011b9cb73 (diff) |
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 'src/pacman/upgrade.c')
0 files changed, 0 insertions, 0 deletions