diff options
author | Lukas Fleischer <archlinux@cryptocrack.de> | 2012-03-01 16:31:20 +0100 |
---|---|---|
committer | Lukas Fleischer <archlinux@cryptocrack.de> | 2012-07-06 11:25:28 +0200 |
commit | 9e9820ff5877f6b0a9c3c2be5127517b9f05a327 (patch) | |
tree | 38496f7e131c9544c2940165bcd76fffe9d25c75 /scripts/aurblup | |
parent | 937cda9ccb5437ff956c04ef8cdb948f19c0d7a4 (diff) | |
download | aur-9e9820ff5877f6b0a9c3c2be5127517b9f05a327.tar.gz aur-9e9820ff5877f6b0a9c3c2be5127517b9f05a327.tar.xz |
Extend pkgname_from_id() to arrays of IDs
This allows for getting the package names of multiple packages at once,
without having to iterate over them and making one DB query per package.
pkgname_from_id() now accepts both integer arrays and single integers
(backwards compatibility mode).
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
Diffstat (limited to 'scripts/aurblup')
0 files changed, 0 insertions, 0 deletions