20 auto file = std::make_unique<DavixFile>(newurl,
mode);
29 Davix::DavixError *
err =
nullptr;
31 Davix::DavPosix davixPosix(&
c);
33 davixPosix.stat64(
nullptr, newurl, &
info, &
err);
35 std::unique_ptr<Davix::DavixError> davixErrManaged(
err);
37 ex <<
"Check failed with error " <<
err->getErrMsg().c_str() <<
" and error code" <<
err->getStatus();
bool check(const std::string &proto, const std::string &path, const AuxSettings &aux, IOOffset *size=nullptr) const override
std::unique_ptr< Storage > open(const std::string &proto, const std::string &path, int mode, AuxSettings const &aux) const override
void addContext(std::string const &context)
#define DEFINE_EDM_PLUGIN(factory, type, name)
static const StorageFactory * get(void)