git_odb_get_backend

Lookup an ODB backend object by index

extern (C) nothrow @nogc public
int
git_odb_get_backend

Parameters

out_ libgit2.types.git_odb_backend**

output pointer to ODB backend at pos

odb libgit2.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