git_odb_get_backend

Lookup an ODB backend object by index

extern (C) nothrow @nogc
int
git_odb_get_backend

Parameters

out_ libgit2_d.types.git_odb_backend**

output pointer to ODB backend at pos

odb libgit2_d.types.git_odb*

object database

pos size_t

index into object database backend list

Return Value

Type: int

0 on success; git_error_code.GIT_ENOTFOUND if pos is invalid; other errors < 0

Meta