Rechercher une page de manuel
Cupt::Cache::BinaryVersion.3pm
Langue: en
Version: 2009-06-21 (debian - 07/07/09)
Section: 3 (Bibliothèques de fonctions)
Sommaire
NAME
Cupt::Cache::BinaryVersion - store info about specific version of deb binary packageFLAGS
o_no_parse_relations
Option to don't parse dependency relation between packages, can speed-up parsing the version if this info isn't needed. Off by default.o_no_parse_info_onlys
Option to don't parse 'Maintainer', 'Description', 'Tag', 'Homepage', can speed-up parsing the version if this info isn't needed. Off by default.METHODS
new
creates an Cupt::Cache::BinaryVersionParameters:
initializer_argument - [ $package_name, fh, offset, ref_release_info ]
where
fh - file handle to opened file that contains version entry
offset - offset in bytes to locate version entry in fh, may include 'Package:' line or not
ref_release_info - reference to release info
METHODS
uris
method, returs available URIs to download the .deb file.Returns:
array of URI entrys.
where:
URI entry - { 'download_uri' => download_uri, 'base_uri' => base_uri, 'appendage' => appendage }
download_uri - full URI to download
base_uri - base URI (as specified in sources.list)
appendage - string to append to base URI to compute download_uri, contains 'Filename' property of package entries.
is_signed
method, returns whether this version has signed source or notis_installed
method, returns whether this version is installed in the system or notContenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre