summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2019-03-13 20:59:30 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2019-03-13 20:59:30 (EDT)
commitc94515cd108fa6fd26702df321e68ca9538b589f (patch)
tree46f8590f5cb7ebaa154a50ed495e96cd71ec3388 /lib
parentc4d516e6b4c79502450a008da681dcea365e51d3 (diff)
ob_get_doc_package(): Document
Diffstat (limited to 'lib')
-rw-r--r--lib/package.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/package.sh b/lib/package.sh
index 44fd858..c6979d7 100644
--- a/lib/package.sh
+++ b/lib/package.sh
@@ -205,6 +205,13 @@ ob_get_binary_parameter()
return 0
}
+## @brief Get the documentation-providing binary package
+## @details \fBob_get_doc_package\fP gets the name of the binary package that
+## will provide documentation files about the source package.
+## @return Returns 0 on success or 1 if no or multiple packages are found to
+## provide documentation files.
+## @stdout Prints the documentation-providing binary package name.
+## @pure yes This function has no side effects.
ob_get_doc_package()
{
_ob_package_do 'get_doc_package' || return ${?}