Rechercher une page de manuel
Cupt::Cache::Package.3pm
Langue: en
Version: 2009-06-21 (debian - 07/07/09)
Section: 3 (Bibliothèques de fonctions)
Sommaire
NAME
Cupt::Cache::Package - store versions of binary or source deb packageMETHODS
new
returns a new Cupt::Cache::Package object. Usually shouldn't be called by hand.add_entry
method, adds unparsed entry to package. Usually should't be called by hand.get_versions
method, returns reference to array of versions (Cupt::Cache::BinaryVersion or Cupt::Cache::SourceVersion) that this package containsget_specific_version
method, returns reference to Cupt::Cache::BinaryVersion or Cupt::Cache::SourceVersion (depending on the value of the object), which has specific version stringParameters:
version_string - version string to search
compare_versions
free subroutine, compares two versions by version numberParameters:
first_version - reference to Cupt::Cache::BinaryVersion or Cupt::Cache::SourceVersion
second_verson - reference to Cupt::Cache::BinaryVersion or Cupt::Cache::SourceVersion
Returns:
the same as Cupt::Core::compare_version_strings
get_installed_version
method, returns reference to Cupt::Cache::BinaryVersion which is installed in the system; if package is not installed, returns undefContenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre