git_refdb_set_backend

Sets the custom backend to an existing reference DB

The git_refdb will take ownership of the git_refdb_backend so you should NOT free it after calling this function.

@param refdb database to add the backend to @param backend pointer to a git_refdb_backend instance @return 0 on success; error code otherwise

package extern (C) nothrow @nogc
int
git_refdb_set_backend

Meta