git_repository_is_bare

Check if a repository is bare

extern (C) nothrow @nogc
int
git_repository_is_bare

Parameters

repo const(libgit2_d.types.git_repository)*

Repo to test

Return Value

Type: int

1 if the repository is bare, 0 otherwise.

Meta