diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2007-09-11 08:36:20 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2007-09-11 08:36:20 +0000 |
commit | ae536803ad1098062690ebc5fbcc9ac5c21049af (patch) | |
tree | 832adb45b1ab155901d0059d17f5c36bb95bd547 | |
parent | 2c3833e87dfe5da63e9f6203d450a572d93b2dcc (diff) | |
download | urpmi-ae536803ad1098062690ebc5fbcc9ac5c21049af.tar urpmi-ae536803ad1098062690ebc5fbcc9ac5c21049af.tar.gz urpmi-ae536803ad1098062690ebc5fbcc9ac5c21049af.tar.bz2 urpmi-ae536803ad1098062690ebc5fbcc9ac5c21049af.tar.xz urpmi-ae536803ad1098062690ebc5fbcc9ac5c21049af.zip |
add some doc
-rw-r--r-- | urpm.pm | 17 |
1 files changed, 17 insertions, 0 deletions
@@ -292,6 +292,23 @@ urpm - Mandriva perl tools to handle the urpmi database C<urpm> 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<URPM>, and also the following fields: + +B<source>: { id => src_rpm_file|spec_file } + +B<media>: [ { 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<URPM> package is used to manipulate at a lower level hdlist and rpm |