From: Klaus Kaempf Date: Fri, 3 Feb 2006 20:51:55 +0000 (+0000) Subject: whoOwnsFile at toplevel X-Git-Tag: BASE-SuSE-SLE-10-SP2-Branch~2656 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=38af2094e9105acf7a94851b2be02c85bada56b6;p=platform%2Fupstream%2Flibzypp.git whoOwnsFile at toplevel --- diff --git a/zypp/Target.cc b/zypp/Target.cc index d77c484..2db9adf 100644 --- a/zypp/Target.cc +++ b/zypp/Target.cc @@ -76,6 +76,9 @@ namespace zypp bool Target::providesFile (const std::string & name_str, const std::string & path_str) const { return _pimpl->providesFile (name_str, path_str); } + ResObject::constPtr Target::whoOwnsFile (const std::string & path_str) const + { return _pimpl->whoOwnsFile (path_str); } + std::ostream & Target::dumpOn( std::ostream & str ) const { return _pimpl->dumpOn( str ); } diff --git a/zypp/Target.h b/zypp/Target.h index 69e4d17..d73a950 100644 --- a/zypp/Target.h +++ b/zypp/Target.h @@ -60,6 +60,8 @@ namespace zypp Needed to evaluate split provides during Resolver::Upgrade() */ bool providesFile (const std::string & name_str, const std::string & path_str) const; + ResObject::constPtr whoOwnsFile (const std::string & path_str) const; + public: /** Ctor */ explicit