git_odb_new

Create a new object database with no backends.

Before the ODB can be used for read/writing, a custom database backend must be manually added using git_odb_add_backend()

extern (C) nothrow @nogc
int
git_odb_new

Parameters

out_ libgit2_d.types.git_odb**

location to store the database pointer, if opened. Set to null if the open failed.

Return Value

Type: int

0 or an error code

Meta