summaryrefslogtreecommitdiffstats
path: root/lib/libalpm
diff options
context:
space:
mode:
authorSimon Gomizelj <simongmzlj@gmail.com>2013-07-04 04:34:14 +0200
committerAllan McRae <allan@archlinux.org>2013-07-05 06:32:09 +0200
commit7b8f8753b15037bf4a88126ffde8195416432c72 (patch)
tree5ecdbcee0ae18c8b15f8489fdf1e42f6e9fb2655 /lib/libalpm
parentdcb3b9f85ff8761fa1fe7ef01df2d6b011b9cb73 (diff)
downloadpacman-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')
0 files changed, 0 insertions, 0 deletions