lib/util.c: xbps_remote_binpkg_exists to check if signature and binpkg are cached
This commit is contained in:
@ -1913,6 +1913,17 @@ bool xbps_pkg_is_ignored(struct xbps_handle *xhp, const char *pkg);
|
||||
*/
|
||||
bool xbps_binpkg_exists(struct xbps_handle *xhp, xbps_dictionary_t pkgd);
|
||||
|
||||
/**
|
||||
* Returns true if binary package and signature exists in cachedir,
|
||||
* false otherwise.
|
||||
*
|
||||
* @param[in] xhp The pointer to an xbps_handle struct.
|
||||
* @param[in] pkgd Package dictionary returned by rpool.
|
||||
*
|
||||
* @return true if exists, false otherwise.
|
||||
*/
|
||||
bool xbps_remote_binpkg_exists(struct xbps_handle *xhp, xbps_dictionary_t pkgd);
|
||||
|
||||
/**
|
||||
* Checks if the URI specified by \a uri is remote or local.
|
||||
*
|
||||
|
Reference in New Issue
Block a user