diff --git a/include/libdnf5/repo/repo.hpp b/include/libdnf5/repo/repo.hpp index 425982882..53c8d678e 100644 --- a/include/libdnf5/repo/repo.hpp +++ b/include/libdnf5/repo/repo.hpp @@ -310,6 +310,10 @@ class LIBDNF_API Repo { /// Return string representation of the Type enum static std::string type_to_string(Type type); + /// Downloads repository metadata. + // @replaces libdnf:repo/Repo.hpp:method:Repo.downloadMetadata(const std::string & destdir) + void download_metadata(const std::string & destdir); + private: class LIBDNF_LOCAL Impl; friend class RepoSack; @@ -324,10 +328,6 @@ class LIBDNF_API Repo { /// Also writes the libsolv's solv/solvx cache files. LIBDNF_LOCAL void load(); - /// Downloads repository metadata. - // @replaces libdnf:repo/Repo.hpp:method:Repo.downloadMetadata(const std::string & destdir) - LIBDNF_LOCAL void download_metadata(const std::string & destdir); - LIBDNF_LOCAL void add_libsolv_testcase(const std::string & path); /// Adds an RPM package at `path` to the repository.