Imported Upstream version 17.0.0
[platform/upstream/libzypp.git] / zypp / Url.cc
index 1eede89..9755bcb 100644 (file)
@@ -776,6 +776,11 @@ namespace zypp
   }
 
   // -----------------------------------------------------------------
+
+  void Url::appendPathName( const Pathname & path_r, EEncoding eflag_r )
+  { if ( ! path_r.emptyOrRoot() ) setPathName( Pathname(getPathName( eflag_r )) / path_r, eflag_r ); }
+
+  // -----------------------------------------------------------------
   void
   Url::setPathParams(const std::string &params)
   {