diff --git a/include/libdnf/repo/repo.hpp b/include/libdnf/repo/repo.hpp index 4b03ab9d1..a4587045d 100644 --- a/include/libdnf/repo/repo.hpp +++ b/include/libdnf/repo/repo.hpp @@ -131,11 +131,6 @@ class Repo { /// @replaces libdnf:repo/Repo.hpp:method:Repo.isLocal() bool is_local() const; - /// Downloads repository metadata from the origin or reads the local metadata cache if still valid. - /// @return true if fresh metadata were downloaded, false otherwise. - /// @replaces libdnf:repo/Repo.hpp:method:Repo.load() - bool fetch_metadata(); - /// Reads metadata from local cache. /// @replaces libdnf:repo/Repo.hpp:method:Repo.loadCache(bool throwExcept) void read_metadata_cache(); @@ -348,6 +343,11 @@ class Repo { friend class PackageDownloader; friend class solv::Pool; + /// Downloads repository metadata from the origin or reads the local metadata cache if still valid. + /// @return true if fresh metadata were downloaded, false otherwise. + /// @replaces libdnf:repo/Repo.hpp:method:Repo.load() + bool fetch_metadata(); + void make_solv_repo(); void load_available_repo();