Skip to content

Commit

Permalink
Make repo::Repo::fetch_metadata method private
Browse files Browse the repository at this point in the history
  • Loading branch information
jrohel committed Mar 1, 2023
1 parent 6c3626a commit 7ce73f6
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions include/libdnf/repo/repo.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down Expand Up @@ -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();
Expand Down

0 comments on commit 7ce73f6

Please sign in to comment.