Class | Satsolver::Solvable |
In: |
satsolver.i
|
Parent: | Object |
expose XSolvable as ‘Solvable‘
compare | -> | <=> |
Create a Solvable in a Repo, give it name, edition-version-release and optionally an architecture.
Architecture defaults to noarch
See also: Repo.create_solvable
Attribute accessor.
It takes either a string or a symbol and returns the value of the attribute.
If its a symbol, all underline characters are converted to colons. E.g. +:solvable_installsize+ -> +"solvable:installsize"+
A ValueError exception is raised if the attribute name does not exist.
nil is returned if the attribute name exists but is not set for the solvable.
Identity operator
identical represents satsolver semantics for equality
This might be different from your application needs, beware !
Get location of corresponding package
returns a 2-element tuple of [path (string), medianr (int)]
medianr is meaningful only for fixed-media repositories spread across multiple CDs or DVDs.
path is nil for non-package solvables.