| Class | Satsolver::Repo |
| In: |
satsolver.i
|
| Parent: | Object |
The Repo represents a Set of Solvables from the same origin. This is usually a .solv file (e.g. create from a package Repository) or the RPM database.
Repositories can be given a name, making it easier to identify and reference them.
Since Solvables back reference the Repo they belong to, the Repo desctructor is left as a no-op. In the rare case that one has to free memory allocated to a Repo, call discard and do not reference any Solvables originating from this Repo.
Create a new Repository in Pool with a given name
See also: Pool.create_repo()
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.