diff options
Diffstat (limited to 'src/package.c')
-rw-r--r-- | src/package.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/package.c b/src/package.c index 0cad132..585644e 100644 --- a/src/package.c +++ b/src/package.c @@ -664,6 +664,11 @@ int apk_pkg_write_index_entry(struct apk_package *info, return n; } +int apk_pkg_version_compare(struct apk_package *a, struct apk_package *b) +{ + return apk_version_compare(a->version, b->version); +} + struct apk_dependency apk_dep_from_str(struct apk_database *db, char *str) { |