git_refdb_init_backend

Initializes a git_refdb_backend with default values. Equivalent to creating an instance with GIT_REFDB_BACKEND_INIT.

package extern (C) nothrow @nogc
int
git_refdb_init_backend

Parameters

backend .git_refdb_backend*

the git_refdb_backend struct to initialize

Return Value

Type: int

Zero on success; -1 on failure.

Meta