From ae536803ad1098062690ebc5fbcc9ac5c21049af Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Tue, 11 Sep 2007 08:36:20 +0000 Subject: add some doc --- urpm.pm | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'urpm.pm') diff --git a/urpm.pm b/urpm.pm index d33dede5..f2aa77fe 100644 --- a/urpm.pm +++ b/urpm.pm @@ -292,6 +292,23 @@ urpm - Mandriva perl tools to handle the urpmi database C is used by urpmi executables to manipulate packages and media on a Mandriva Linux distribution. +=head2 The urpm class + +=over 4 + +=item urpm->new() + +The constructor creates a new urpm object. It's a blessed hash that +contains fields from C, and also the following fields: + +B: { id => src_rpm_file|spec_file } + +B: [ { start => int, end => int, name => string, url => string, + virtual => bool, media_info_dir => string, with_hdlist => string, + hdlist => bool|string, synthesis => bool, + removable => string, downloader => string, + ignore => bool, update => bool, modified => bool, really_modified => bool } ], + =head1 SEE ALSO The C package is used to manipulate at a lower level hdlist and rpm -- cgit v1.2.1