An instance for a custom backend
Queries the refdb backend to determine if the given ref_name exists. A refdb implementation must provide this function.
Queries the refdb backend for a given reference. A refdb implementation must provide this function.
Allocate an iterator object for the backend.
A refdb implementation must provide this function.
Deletes the given reference from the refdb. A refdb implementation must provide this function.
Suggests that the given refdb compress or optimize its references. This mechanism is implementation specific. (For on-disk reference databases, this may pack all loose references.) A refdb implementation may provide this function; if it is not provided, nothing will be done.
Frees any resources held by the refdb. A refdb implementation may provide this function; if it is not provided, nothing will be done.