public:
/**
- * Short unique, convenience string to refer to a repo.
+ * Short unique string to identify a repo.
* ie: openSUSE-10.3
*
* If you are looking for a label to display
- * see \ref info() which provides \ref RepoInfo::name()
+ * see \ref name().
* ie: "openSUSE 10.3 Main repository"
*
*/
std::string alias() const;
+ /** Label to display for this repo. */
+ std::string name() const;
+
/**
* Timestamp when this repository was generated
*
::_Repo * get() const;
/** Expert backdoor. */
IdType id() const { return _id; }
+ /** libsolv internal priorities.
+ * Unlike the \ref RepoInfo priority which tries to be YUM conform
+ * (H[1-99]L), this one is the solvers internal priority representation.
+ * It is type \c int and as one might expect it, the higher the value
+ * the higher the priority. Subpriority is currently used to express
+ * media preferences (\see \ref MediaPriority).
+ */
+ //@{
+ int satInternalPriority() const;
+ int satInternalSubPriority() const;
+ //@}
private:
#ifndef SWIG // Swig treats it as syntax error
friend base::SafeBool<Repository>::operator bool_type() const;