summaryrefslogtreecommitdiff
path: root/doc/libsolv-bindings.txt
diff options
context:
space:
mode:
authorMichael Schroeder <mls@suse.de>2014-01-09 13:29:48 +0100
committerMichael Schroeder <mls@suse.de>2014-01-09 13:29:48 +0100
commite42c9a91def8e2c9c086fa3e87f50dd6ac16ce09 (patch)
tree6a2c0b0ae4f63571e55fa4575ec68a921a44f86e /doc/libsolv-bindings.txt
parent178e160000d17cd9a7bebb160bb0b031092a6887 (diff)
downloadlibsolv-e42c9a91def8e2c9c086fa3e87f50dd6ac16ce09.tar.gz
libsolv-e42c9a91def8e2c9c086fa3e87f50dd6ac16ce09.tar.bz2
libsolv-e42c9a91def8e2c9c086fa3e87f50dd6ac16ce09.zip
add identical and evrcmp methods for solvables
Diffstat (limited to 'doc/libsolv-bindings.txt')
-rw-r--r--doc/libsolv-bindings.txt16
1 files changed, 16 insertions, 0 deletions
diff --git a/doc/libsolv-bindings.txt b/doc/libsolv-bindings.txt
index a5fde9d..1dcfc3f 100644
--- a/doc/libsolv-bindings.txt
+++ b/doc/libsolv-bindings.txt
@@ -1306,6 +1306,22 @@ are not installable if the system does not support their architecture.
Return true if the solvable is installed on the system.
+ bool identical(Solvable *other)
+ $solvable->identical($other)
+ $solvable.identical(other)
+ $solvable.identical?(other)
+
+Return true if the two solvables are identical.
+
+ int evrcmp(Solvable *other)
+ $solvable->evrcmp(other)
+ $solvable.evrcmp(other)
+ $solvable.evrcmp(other)
+
+Returns -1 if the epoch/version/release of the solvable is less then the
+one from the other solvable, 1 if it is greater, and 0 if they are equal.
+Note that "equal" does not mean that the evr is identical.
+
Selection Selection(int setflags = 0)
my $sel = $solvable->Selection();
sel = solvable.Selection()