git_odb_init_backend

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

@param backend the git_odb_backend struct to initialize. @param version Version the struct; pass GIT_ODB_BACKEND_VERSION @return Zero on success; -1 on failure.

package extern (C) nothrow @nogc
int
git_odb_init_backend

Meta