Mailinglist Archive: zypp-devel (84 mails)

< Previous Next >
Re: [zypp-devel] libzypp: about 11.1 product handling and beloved zypp::ResTraits
  • From: Michael Andres <ma@xxxxxxx>
  • Date: Fri, 8 Aug 2008 15:31:41 +0200
  • Message-id: <20080808133141.GA19093@xxxxxxx>
On Thu, Aug 07, Michael Andres wrote:

If a distinction has to be drawn between installed items (package,
product) and verified items (pattern, patch), we'll provide this info
as a property of ResKind.

///////////////////////////////////////////////////////////////////
namespace zypp
{ /////////////////////////////////////////////////////////////////

///////////////////////////////////////////////////////////////////
namespace traits
{ /////////////////////////////////////////////////////////////////

/** Those are denoted to be installed, if the
* solver verifies them as being satisfied. */

bool isPseudoInstalled( ResKind kind_r )
{ return( kind_r == ResKind::patch || kind_r == ResKind::pattern ); }


--

cu,
Michael Andres

+------------------------------------------------------------------+
Key fingerprint = 2DFA 5D73 18B1 E7EF A862 27AC 3FB8 9E3A 27C6 B0E4
+------------------------------------------------------------------+
Michael Andres YaST Development ma@xxxxxxxxxx
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg)
Maxfeldstrasse 5, D-90409 Nuernberg, Germany, ++49 (0)911 - 740 53-0
+------------------------------------------------------------------+

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

< Previous Next >
References