git_odb_init_backend

Initializes a git_odb_backend with default values. Equivalent to creating an instance with GIT_ODB_BACKEND_INIT.

package extern (C) nothrow @nogc
int
git_odb_init_backend

Parameters

backend .git_odb_backend*

the git_odb_backend struct to initialize.

Return Value

Type: int

Zero on success; -1 on failure.

Meta