[zypp-commit] r9899 - in /trunk/libzypp/zypp: Target.cc Target.h target/TargetImpl.cc
Author: mlandres Date: Wed Apr 30 13:03:44 2008 New Revision: 9899 URL: http://svn.opensuse.org/viewcvs/zypp?rev=9899&view=rev Log: add Target::cleanCache Modified: trunk/libzypp/zypp/Target.cc trunk/libzypp/zypp/Target.h trunk/libzypp/zypp/target/TargetImpl.cc Modified: trunk/libzypp/zypp/Target.cc URL: http://svn.opensuse.org/viewcvs/zypp/trunk/libzypp/zypp/Target.cc?rev=9899&r1=9898&r2=9899&view=diff ============================================================================== --- trunk/libzypp/zypp/Target.cc (original) +++ trunk/libzypp/zypp/Target.cc Wed Apr 30 13:03:44 2008 @@ -67,6 +67,9 @@ void Target::buildCache() { _pimpl->buildCache(); } + void Target::cleanCache() + { _pimpl->clearCache(); } + void Target::load() { _pimpl->load(); } Modified: trunk/libzypp/zypp/Target.h URL: http://svn.opensuse.org/viewcvs/zypp/trunk/libzypp/zypp/Target.h?rev=9899&r1=9898&r2=9899&view=diff ============================================================================== --- trunk/libzypp/zypp/Target.h (original) +++ trunk/libzypp/zypp/Target.h Wed Apr 30 13:03:44 2008 @@ -60,6 +60,11 @@ void buildCache(); /** + * cleans the target cache (.solv files) + */ + void cleanCache(); + + /** * load resolvables into the pool */ void load(); Modified: trunk/libzypp/zypp/target/TargetImpl.cc URL: http://svn.opensuse.org/viewcvs/zypp/trunk/libzypp/zypp/target/TargetImpl.cc?rev=9899&r1=9898&r2=9899&view=diff ============================================================================== --- trunk/libzypp/zypp/target/TargetImpl.cc (original) +++ trunk/libzypp/zypp/target/TargetImpl.cc Wed Apr 30 13:03:44 2008 @@ -118,7 +118,8 @@ // name,version,release: Script name must match 'name-version.release-' prefix // #warning needs to be reimplemented exception safe - void RunUpdateScript(Pathname path, std::string name, std::string version, std::string release) +#warning needs to take root prefix into account and execute chroot + void RunUpdateScript(Pathname path, std::string name, std::string version, std::string release) { // open the scripts directory -- To unsubscribe, e-mail: zypp-commit+unsubscribe@opensuse.org For additional commands, e-mail: zypp-commit+help@opensuse.org
participants (1)
-
mlandres@svn.opensuse.org