Add documentation about parameter and return value

This commit is contained in:
punkymaniac
2021-11-26 15:14:56 +01:00
parent 03aed8bca7
commit 68bc511abb
30 changed files with 122 additions and 0 deletions

View File

@@ -52,6 +52,9 @@ GIT_EXTERN(int) git_refdb_open(git_refdb **out, git_repository *repo);
* Suggests that the given refdb compress or optimize its references.
* This mechanism is implementation specific. For on-disk reference
* databases, for example, this may pack all loose references.
*
* @param refdb The reference database to optimize.
* @return 0 or an error code.
*/
GIT_EXTERN(int) git_refdb_compress(git_refdb *refdb);