libzypp 17.38.15
zypp::sat::Pool::ClaimingSnapshotRepos Class Reference

RAII: while any instance lives, detail::PoolImpl::prepare does not erase snapshot repos this run has not claimed yet. More...

#include <zypp/sat/Pool.h>

Public Member Functions

 ClaimingSnapshotRepos ()
 ~ClaimingSnapshotRepos ()
 ClaimingSnapshotRepos (const ClaimingSnapshotRepos &)=delete
ClaimingSnapshotRepos & operator= (const ClaimingSnapshotRepos &)=delete

Detailed Description

RAII: while any instance lives, detail::PoolImpl::prepare does not erase snapshot repos this run has not claimed yet.

Hold it around loading a repo, so a pool query from a progress callback does not drop the repos which are still to come.

Definition at line 181 of file Pool.h.

Constructor & Destructor Documentation

◆ ClaimingSnapshotRepos() [1/2]

zypp::sat::Pool::ClaimingSnapshotRepos::ClaimingSnapshotRepos ( )

Definition at line 201 of file Pool.cc.

◆ ~ClaimingSnapshotRepos()

zypp::sat::Pool::ClaimingSnapshotRepos::~ClaimingSnapshotRepos ( )

Definition at line 204 of file Pool.cc.

◆ ClaimingSnapshotRepos() [2/2]

zypp::sat::Pool::ClaimingSnapshotRepos::ClaimingSnapshotRepos ( const ClaimingSnapshotRepos & )
delete

Member Function Documentation

◆ operator=()

ClaimingSnapshotRepos & zypp::sat::Pool::ClaimingSnapshotRepos::operator= ( const ClaimingSnapshotRepos & )
delete

The documentation for this class was generated from the following files: