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@novell.com 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@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org