13 #ifndef ZYPP_MEDIA_MEDIAHANDLERL_H 14 #define ZYPP_MEDIA_MEDIAHANDLERL_H 28 #include <zypp-media/MediaException> 30 #include <zypp-core/OnMediaLocation> 32 #undef ZYPP_BASE_LOGGER_LOGGROUP 33 #define ZYPP_BASE_LOGGER_LOGGROUP "zypp::media" 55 using Ptr = shared_ptr<MediaHandler>;
56 using constPtr = shared_ptr<const MediaHandler>;
59 static std::string
getRealPath(
const std::string &path);
225 bool mtab=
true)
const;
310 virtual void attachTo(
bool next =
false) = 0;
341 virtual void releaseFrom(
const std::string & ejectDev =
"" ) = 0;
393 virtual void getDir(
const Pathname & dirname,
bool recurse_r )
const = 0;
410 virtual void getDirInfo( std::list<std::string> & retlist,
411 const Pathname & dirname,
bool dots =
true )
const = 0;
425 const Pathname & dirname,
bool dots =
true )
const = 0;
448 const Pathname & dirname,
bool dots =
true )
const;
459 const Pathname & dirname,
bool dots =
true )
const;
475 std::vector<MediaUrl> urls_r,
477 Pathname urlpath_below_attachpoint_r,
478 const bool does_download_r );
566 void release(
const std::string & ejectDev =
"" );
660 void dirInfo( std::list<std::string> & retlist,
661 const Pathname & dirname,
bool dots =
true )
const;
676 const Pathname & dirname,
bool dots =
true )
const;
703 unsigned int & index)
const;
716 precacheFiles (
const std::vector< OnMediaLocation > &files );
725 #endif // ZYPP_MEDIA_MEDIAHANDLERL_H
String related utilities and Regular expression matching.
Provides API related macros.
std::list< DirEntry > DirContent
Returned by readdir.
constexpr std::string_view device("device")
Easy-to use interface to the ZYPP dependency resolver.