Dne 23.10.2015 v 10:24 Josef Reidinger napsal(a):
[...]
> 2) common query should return only later as first one is overlaped, of
> course there can be specialized call to manipulate mount points knowing
> also about overlap or knowing that removing first mount point return to
> game previous one

It seems that Libzypp has something similar for repository URLs. Each 
repository can
have assigned multiple URLs and you can get all URLs via baseUrls() methods [1] 
or a
single URL via url() method [2] (it's the first one from the list). The most 
common
use case is just a simple url(), the list of URLs is usually not needed.


[1] https://github.com/openSUSE/libzypp/blob/master/zypp/RepoInfo.h#L140
[2] https://github.com/openSUSE/libzypp/blob/master/zypp/RepoInfo.h#L127

--

Ladislav Slezák
Appliance department / YaST Developer
Lihovarská 1060/12
190 00 Prague 9 / Czech Republic
tel: +420 284 028 960
[email protected]
SUSE
-- 
To unsubscribe, e-mail: [email protected]
To contact the owner, e-mail: [email protected]

Reply via email to