git_refdb_compress

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.

extern (C) nothrow @nogc public
int
git_refdb_compress

Parameters

refdb libgit2.types.git_refdb*

The reference database to optimize.

Return Value

Type: int

0 or an error code.

Meta