changeset 108:ef1551e7cb16

Docu: get_immediate_remote_repo_version() is documented
author Franz Glasner <fzglas.hg@dom66.de>
date Mon, 07 Oct 2019 09:37:50 +0200
parents f8642efe05a1
children 0bd594fb56f8
files bin/check-ports
diffstat 1 files changed, 14 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/bin/check-ports	Wed Oct 02 09:41:46 2019 +0200
+++ b/bin/check-ports	Mon Oct 07 09:37:50 2019 +0200
@@ -229,6 +229,20 @@
 }
 
 get_immediate_remote_repo_version() {
+    :'Ask a remote repository for the version of a package.
+
+    Args:
+        _repo: the repository name
+        _name: the name of the package
+
+    Returns:
+        0 on success and other status codes otherwise
+
+    Output (Globals):
+        immediate_remote_repo_version_${_repo}: the version of package `_name`
+                                in repo `_repo`
+
+    '
     local _repo _name _version _rv
 
     _repo=$1