18 #include <sys/mount.h> 44 :
MediaHandler( origin, origin.authority().url().getPathName(),
48 MIL <<
"MediaDIR::MediaDIR(" <<
url() <<
")" << endl;
52 "Hostname not allowed in the Url" 87 "Specified path '" +
url().getPathName() +
"' is not a directory" 96 "The media URL does not provide any useable directory path" 159 const Pathname & dirname,
bool dots )
const 173 const Pathname & dirname,
bool dots )
const
std::string asString(const DefaultIntegral< Tp, TInitial > &obj)
#define ZYPP_THROW(EXCPT)
Drops a logline and throws the Exception.
const zypp::Url & url() const
std::list< DirEntry > DirContent
Returned by readdir.
Manages a data source characterized by an authoritative URL and a list of mirror URLs.
std::string getHost(EEncoding eflag=zypp::url::E_DECODED) const
Returns the hostname or IP from the URL authority.
Wrapper class for ::stat/::lstat.
const OriginEndpoint & authority() const