Mailinglist Archive: yast-devel (211 mails)

< Previous Next >
Re: [yast-devel] High level notes about new storage API
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
lslezak@xxxxxxxx
SUSE
--
To unsubscribe, e-mail: yast-devel+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: yast-devel+owner@xxxxxxxxxxxx

< Previous Next >
List Navigation