git_repository_path

Get the path of this repository

This is the path of the .git folder for normal repositories, or of the repository itself for bare repositories.

extern (C) nothrow @nogc
const(char)*
git_repository_path

Parameters

repo const(libgit2_d.types.git_repository)*

A repository object

Return Value

Type: const(char)*

the path to the repository

Meta