From 38af2094e9105acf7a94851b2be02c85bada56b6 Mon Sep 17 00:00:00 2001 From: Klaus Kaempf Date: Fri, 3 Feb 2006 20:51:55 +0000 Subject: [PATCH] whoOwnsFile at toplevel --- zypp/Target.cc | 3 +++ zypp/Target.h | 2 ++ 2 files changed, 5 insertions(+) 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 -- 2.7.4