14#include <zypp/base/Logger.h>
15#include <zypp-media/Mount>
50 MIL <<
"MediaISO::MediaISO(" <<
url_r <<
", "
56 ERR <<
"Media url does not contain iso filename" << std::endl;
78 ERR <<
"Unable to parse iso filename source media url" << std::endl;
86 ERR <<
"Invalid iso filename source media url" << std::endl;
91 ERR <<
"ISO filename source media url with iso scheme (nested iso): "
104 ERR <<
"ISO filename source media url scheme is not supported: "
123 DBG <<
"Closing parent handler..." << std::endl;
167 "Unable to find iso filename on source media",
185 if(
ret.mediaSource &&
187 !
ret.attachPoint->empty())
189 DBG <<
"Using a shared media "
190 <<
ret.mediaSource->name
192 <<
ret.attachPoint->path
235 "Unable to verify that the media was mounted",
260 WAR <<
"Not been able to cleanup the parent mount." << endl;
Reference counted access to a Tp object calling a custom Dispose function when the last AutoDispose h...
Base class for Exception.
std::string getScheme() const
Returns the scheme name of the URL.
std::string asString() const
Returns a default string representation of the Url object.
std::string getQueryParam(const std::string ¶m, EEncoding eflag=zypp::url::E_DECODED) const
Return the value for the specified query parameter.
void setPathName(const std::string &path, EEncoding eflag=zypp::url::E_DECODED)
Set the path name.
bool isValid() const
Verifies the Url.
Wrapper class for stat/lstat.
Pathname dirname() const
Return all but the last component od this path.
std::string basename() const
Return the last component of this path.
bool empty() const
Test for an empty path.
Base class for all URL exceptions.
std::list< DirEntry > DirContent
Returned by readdir.
Easy-to use interface to the ZYPP dependency resolver.
std::string asString(const Patch::Category &obj)
#define ZYPP_CAUGHT(EXCPT)
Drops a logline telling the Exception was caught (in order to handle it).
#define ZYPP_THROW(EXCPT)
Drops a logline and throws the Exception.