aboutsummaryrefslogtreecommitdiffstats
path: root/URPM.pm
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2013-03-25 18:37:49 +0100
committerThierry Vignaud <thierry.vignaud@gmail.com>2013-11-05 16:54:48 +0100
commit53abfe6c8cb4a9087bbe90e056126a9692001c04 (patch)
treee2c4213c0db7c7364012b0f7a9d45f9e6d093931 /URPM.pm
parent039f8be8edfd74d73bb3bcaba246e246a10a364a (diff)
downloadperl-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
Diffstat (limited to 'URPM.pm')
-rw-r--r--URPM.pm22
1 files changed, 22 insertions, 0 deletions
diff --git a/URPM.pm b/URPM.pm
index 3fee157..3a9ddec 100644
--- a/URPM.pm
+++ b/URPM.pm
@@ -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