9 #ifndef ZYPP_NG_MEDIASETFACADE_INCLUDED 10 #define ZYPP_NG_MEDIASETFACADE_INCLUDED 15 #include <zypp-media/ng/LazyMediaHandle> 36 const std::optional<zypp::Pathname> &
localPath()
const;
71 Disabled
for now so we hit
a compile error, since we currently have no way to
get those values from the old media backend.
139 return [ providerRef=std::move(provider), targetPath = targetPath ](
Res &&file ){
141 return providerRef->copyFile( std::move(file), targetPath );
int assert_dir(const Pathname &path, unsigned mode)
Like 'mkdir -p'.
const zypp::ManagedFile & asManagedFile() const
#define ZYPP_ADD_CREATE_FUNC(Class)
std::vector< AttachedMediaInfo_Ptr > _attachedMedia
ProvideRes(ProvideMediaHandle hdl, zypp::ManagedFile file)
const ProvideMediaHandle & mediaHandle() const
const HeaderValueMap & headers() const
DEFINE_PTR_TYPE(AttachedMediaInfo)
Manages a data source characterized by an authoritative URL and a list of mirror URLs.
Pathname dirname() const
Return all but the last component od this path.
#define ZYPP_DECL_PRIVATE_CONSTR(Class)
ZYPP_FWD_DECL_TYPE_WITH_REFS(EventDispatcher)
ProvideMediaHandle _provideHandle
static auto copyResultToDest(ProvideRef provider, const zypp::Pathname &targetPath)
const zypp::Pathname file() const