diff options
author | Thierry Vignaud <thierry.vignaud@gmail.com> | 2013-03-25 18:37:49 +0100 |
---|---|---|
committer | Thierry Vignaud <thierry.vignaud@gmail.com> | 2013-11-05 16:54:48 +0100 |
commit | 53abfe6c8cb4a9087bbe90e056126a9692001c04 (patch) | |
tree | e2c4213c0db7c7364012b0f7a9d45f9e6d093931 | |
parent | 039f8be8edfd74d73bb3bcaba246e246a10a364a (diff) | |
download | perl-URPM-53abfe6c8cb4a9087bbe90e056126a9692001c04.tar perl-URPM-53abfe6c8cb4a9087bbe90e056126a9692001c04.tar.gz perl-URPM-53abfe6c8cb4a9087bbe90e056126a9692001c04.tar.bz2 perl-URPM-53abfe6c8cb4a9087bbe90e056126a9692001c04.tar.xz perl-URPM-53abfe6c8cb4a9087bbe90e056126a9692001c04.zip |
document transaction element API
-rw-r--r-- | URPM.pm | 22 |
1 files changed, 22 insertions, 0 deletions
@@ -839,6 +839,28 @@ transaction, passing a C<URPM::Package> object as argument the callback. =back +=head3 Transaction Element management + +=over 4 + +=item $trans->NElements($fileno) + +Returns the number of elements in the transaction. + +=item $trans->Element_version($index) + +Returns the version of the $index-th element in the transaction. + +=item $trans->Element_release($index) + +Returns the release of the $index-th element in the transaction. + +=item $trans->Element_fullname($index) + +Returns the fullname of the $index-th element in the transaction. + +=back + =head2 Macro handling functions =over |