git_refdb_backend_fs

Constructors for default filesystem-based refdb backend

Under normal usage, this is called for you when the repository is opened / created, but you can use this to explicitly construct a filesystem refdb backend for a repository.

package extern (C) nothrow @nogc
int
git_refdb_backend_fs

Parameters

backend_out .git_refdb_backend**

Output pointer to the git_refdb_backend object

repo libgit2_d.types.git_repository*

Git repository to access

Return Value

Type: int

0 on success, <0 error code on failure

Meta