From 53abfe6c8cb4a9087bbe90e056126a9692001c04 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Mon, 25 Mar 2013 18:37:49 +0100 Subject: document transaction element API --- URPM.pm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) 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 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 -- cgit v1.2.1