pub unsafe extern "C" fn svn_repos_has_capability(
repos: *mut svn_repos_t,
has: *mut svn_boolean_t,
capability: *const c_char,
pool: *mut apr_pool_t,
) -> *mut svn_error_t
Expand description
Set @a *has to TRUE if @a repos has @a capability (one of the capabilities beginning with @c “SVN_REPOS_CAPABILITY_”), else set @a *has to FALSE.
If @a capability isn’t recognized, throw #SVN_ERR_UNKNOWN_CAPABILITY, with the effect on @a *has undefined.
Use @a pool for all allocation.
@since New in 1.5.