Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

repo: Make Repo::download_metadata() method public #1878

Merged
merged 1 commit into from
Nov 21, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions include/libdnf5/repo/repo.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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.
Expand Down
Loading