9#ifndef ZYPP_NG_MEDIASETFACADE_INCLUDED
10#define ZYPP_NG_MEDIASETFACADE_INCLUDED
14#include <zypp-media/ng/Provide>
15#include <zypp-media/ng/LazyMediaHandle>
33 MediaSyncFacadeRef
parent()
const;
36 const std::optional<zypp::Pathname> &
localPath()
const;
40 AttachedSyncMediaInfo_Ptr
_data;
110 return [ providerRef=std::move(provider), targetPath = targetPath ](
Res &&file ){
112 return providerRef->copyFile( std::move(file), targetPath );
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.
int assert_dir(const Pathname &path, unsigned mode)
Like 'mkdir -p'.
AutoDispose< const Pathname > ManagedFile
A Pathname plus associated cleanup code to be executed when path is no longer needed.
const Arch Arch_armv7hnl Arch_armv7nhl ZYPP_API
MediaSyncFacade::Res SyncProvideRes
#define DEFINE_PTR_TYPE(NAME)
Forward declaration of Ptr types.
#define ZYPP_ADD_CREATE_FUNC(Class)
#define ZYPP_FWD_DECL_TYPE_WITH_REFS(T)