git_repository_open_bare

Open a bare repository on the serverside.

This is a fast open for bare repositories that will come in handy if you're e.g. hosting git repositories and need to access them efficiently

extern (C) nothrow @nogc
int
git_repository_open_bare

Parameters

out_ libgit2_d.types.git_repository**

Pointer to the repo which will be opened.

bare_path const(char)*

Direct path to the bare repository

Return Value

Type: int

0 on success, or an error code

Meta