Package
Object Hierarchy:
Description:
[
CCode ( type_id =
"pk_package_get_type ()" ) ]
public class Package :
Source
Content:
Properties:
Static methods:
- public static string id_build (string name, string version, string arch, string data)
Generate a PackageID.
- public static bool id_check (string package_id)
Check if a Packageid is well formed.
- public static bool id_equal_fuzzy_arch (string package_id1, string package_id2)
Only compare the name, version, and arch, where the architecture will
fuzzy match with i*86.
- public static string[] id_split (string package_id)
Splits a PackageID into the correct number of parts, checking the
correct number of delimiters are present.
- public static string id_to_printable (string package_id)
Formats the PackageID to be printable to the user.
- public static string[] ids_add_id (string package_ids, string package_id)
Adds a package_id to an existing list.
- public static string[] ids_add_ids (string package_ids, string package_ids_new)
Adds a package_id to an existing list.
- public static bool ids_check (string package_ids)
Check the string array of package_id's for validity
- public static string[] ids_from_id (string package_id)
Form a composite string array of package_id's from a single package_id
- public static string[] ids_from_string (string package_id)
Form a composite string array of package_id's from a delimited string
- public static bool ids_present_id (string package_ids, string package_id)
Finds out if a package ID is present in the list.
- public static string[] ids_remove_id (string package_ids, string package_id)
Removes a package ID from the the list.
- public static string ids_to_string (string package_ids)
Cats the string array of package_id's into one delimited string
Creation methods:
Methods:
Signals:
Inherited Members:
All known members inherited from class Pk.Source
All known members inherited from class GLib.Object