/* * Find solvable by name. * * Optionally restrict search to a Repository. * * This function is useful to detect if a Solvable exists at all. If * multiple Solvables would match, this call returns any one of them. Use * Pool.each_provider to interate over all matches. * * call-seq: * pool.find("kernel") -> Solvable * pool.find("kernel", this_repo) -> Solvable * */ XSolvable *find( char *name, Repo *repo = NULL )