find_by_id


Description:

[ Version ( since = "0.5.2" ) ]
public Package find_by_id (string package_id)

Finds a package in a sack from reference.

As soon as one package is found the search is stopped.

Parameters:

this

a valid PackageSack instance

package_id

a package_id descriptor

Returns:

the Package object, or null if unfound. Free with unref