12 #ifndef ZYPP_FETCHER_H 13 #define ZYPP_FETCHER_H 22 #include <zypp-core/OnMediaLocation> 26 #include <zypp-core/ui/ProgressData> 131 AutoAddContentFileIndexes = 0x0001,
136 AutoAddChecksumsIndexes = 0x0002,
141 AutoAddIndexes = AutoAddContentFileIndexes | AutoAddChecksumsIndexes,
156 void setOptions( Options options );
162 Options options()
const;
261 bool recursive =
false,
305 bool recursive =
false,
312 void addCachePath(
const Pathname &cache_dir );
323 void addCachePath(
const Pathname &cache_dir, CacheOptions options );
347 void start(
const Pathname &dest_dir,
359 void start(
const Pathname &dest_dir,
375 {
return mapToCachePath( resource_r.
filename() ); }
390 #endif // ZYPP_FETCHER_H
ZYPP_DECLARE_FLAGS(VendorSupportOptions, VendorSupportOption)
static Pathname mapToCachePath(const OnMediaLocation &resource_r)
#define ZYPP_DEPRECATED
The ZYPP_DEPRECATED macro can be used to trigger compile-time warnings with gcc >= 3...
Option
Various option flags to change behavior.
function< bool(const ProgressData &)> ReceiverFnc
Most simple version of progress reporting The percentage in most cases.
ZYPP_DECLARE_OPERATORS_FOR_FLAGS(DiskUsageCounter::MountPoint::HintFlags)
String related utilities and Regular expression matching.
Request the standard behavior (as defined in zypp.conf or 'Job')
RWCOW_pointer< Impl > _pimpl
Pointer to implementation.
const Arch Arch_empty ZYPP_API
relates: Arch This is an empty Arch represented by an empty string.
std::ostream & operator<<(std::ostream &str, const Capabilities &obj)
relates: Capabilities Stream output
function< void(const Pathname &file)> FileChecker
Functor signature used to check files.
Easy-to use interface to the ZYPP dependency resolver.
This class allows to retrieve a group of files in a confortable way, providing some smartness that do...