11#include <zypp/ng/Context>
18 template<
typename ZyppContextRefType>
21 , _repoInfo(
std::move(info) )
22 , _rawCachePath(
std::move(rawCachePath) )
23 , _tmpDir(
std::move(tempDir) )
24 , _repoManagerOptions(
std::move(opts) )
27 template<
typename ZyppContextRefType>
38 if(
tmpdir.path().empty() ) {
43 , std::move(zyppContext)
45 , std::move(rawCachePath)
50 template<
typename ZyppContextRefType>
53 MIL <<
"Deleting RefreshContext" << std::endl;
56 template<
typename ZyppContextRefType>
62 template<
typename ZyppContextRefType>
68 template<
typename ZyppContextRefType>
71 return _tmpDir.path();
74 template<
typename ZyppContextRefType>
80 template<
typename ZyppContextRefType>
86 template<
typename ZyppContextRefType>
92 template<
typename ZyppContextRefType>
95 return _repoManagerOptions;
98 template<
typename ZyppContextRefType>
104 template<
typename ZyppContextRefType>
110 template<
typename ZyppContextRefType>
113 return _pluginRepoverification;
116 template<
typename ZyppContextRefType>
119 if ( _probedType && *_probedType ==
rType )
123 _sigProbedTypeChanged.emit(
rType);
126 template<
typename ZyppContextRefType>
132 template<
typename ZyppContextRefType>
135 return _sigProbedTypeChanged;
Reference counted access to a Tp object calling a custom Dispose function when the last AutoDispose h...
Base class for Exception.
What is known about a repository.
Provide a new empty temporary directory and recursively delete it when no longer needed.
static TmpDir makeSibling(const Pathname &sibling_r)
Provide a new empty temporary directory as sibling.
int exchange(const Pathname &lpath, const Pathname &rpath)
Exchanges two files or directories.
Pathname rawcache_path_for_repoinfo(const RepoManagerOptions &opt, const RepoInfo &info)
Calculates the raw cache path for a repository, this is usually /var/cache/zypp/alias.
ZyppContextRefType _zyppContext
Repository type enumeration.
#define ZYPP_EXCPT_PTR(EXCPT)
Drops a logline and returns Exception as a std::exception_ptr.