libxbps: better document xbps_rpool_foreach

This commit is contained in:
Piotr Wójcik 2021-12-04 23:27:02 +01:00 committed by Duncan Overbruck
parent 7909cff6ce
commit 49bd3d62b5
No known key found for this signature in database
GPG Key ID: 335C1D17EC3D6E35

View File

@ -1475,6 +1475,8 @@ int xbps_rpool_sync(struct xbps_handle *xhp, const char *uri);
* argument can be used in the callbacks to stop immediately the loop if
* set to true, otherwise it will only be stopped if it returns a
* non-zero value.
* Removes repos failed to open from pool. This condition causes function
* to return error, but don't break the loop.
*
* @param[in] xhp Pointer to the xbps_handle struct.
* @param[in] fn Function callback to execute for every repository registered in