Mailinglist Archive: zypp-commit (118 mails)

< Previous Next >
[zypp-commit] r11906 - in /branches/SuSE-Linux-11_0-Branch/libzypp/zypp: Resolver.cc Resolver.h
  • From: schubi2@xxxxxxxxxxxxxxxx
  • Date: Mon, 08 Dec 2008 09:47:04 -0000
  • Message-id: <20081208094704.E6D08B0F91@xxxxxxxxxxxxxxxx>
Author: schubi2
Date: Mon Dec 8 10:47:04 2008
New Revision: 11906

URL: http://svn.opensuse.org/viewcvs/zypp?rev=11906&view=rev
Log:
Make solver reset public

Modified:
branches/SuSE-Linux-11_0-Branch/libzypp/zypp/Resolver.cc
branches/SuSE-Linux-11_0-Branch/libzypp/zypp/Resolver.h

Modified: branches/SuSE-Linux-11_0-Branch/libzypp/zypp/Resolver.cc
URL:
http://svn.opensuse.org/viewcvs/zypp/branches/SuSE-Linux-11_0-Branch/libzypp/zypp/Resolver.cc?rev=11906&r1=11905&r2=11906&view=diff
==============================================================================
--- branches/SuSE-Linux-11_0-Branch/libzypp/zypp/Resolver.cc (original)
+++ branches/SuSE-Linux-11_0-Branch/libzypp/zypp/Resolver.cc Mon Dec 8
10:47:04 2008
@@ -118,6 +118,8 @@
{ return _pimpl->isInstalledBy (item); }
const solver::detail::ItemCapKindList Resolver::installs (const PoolItem
item)
{ return _pimpl->installs (item); }
+ void Resolver::reset ()
+ { _pimpl->reset( false ); /* Do not keep extra requires/conflicts */ }


/////////////////////////////////////////////////////////////////

Modified: branches/SuSE-Linux-11_0-Branch/libzypp/zypp/Resolver.h
URL:
http://svn.opensuse.org/viewcvs/zypp/branches/SuSE-Linux-11_0-Branch/libzypp/zypp/Resolver.h?rev=11906&r1=11905&r2=11906&view=diff
==============================================================================
--- branches/SuSE-Linux-11_0-Branch/libzypp/zypp/Resolver.h (original)
+++ branches/SuSE-Linux-11_0-Branch/libzypp/zypp/Resolver.h Mon Dec 8 10:47:04
2008
@@ -103,6 +103,12 @@
*/
void undo( void );

+ /*
+ * Resets solver information and verify option.
+ */
+ void reset( void );
+
+
/**
* Do an distribution upgrade
*

--
To unsubscribe, e-mail: zypp-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages