git_refdb_new

Create a new reference database with no backends.

Before the Ref DB can be used for read/writing, a custom database backend must be manually set using git_refdb_set_backend()

@param out_ location to store the database pointer, if opened. Set to null if the open failed. @param repo the repository @return 0 or an error code

extern (C) nothrow @nogc
int
git_refdb_new

Meta