git_repository_workdir

Get the path of the working directory for this repository

If the repository is bare, this function will always return null.

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

Parameters

repo const(libgit2_d.types.git_repository)*

A repository object

Return Value

Type: const(char)*

the path to the working dir, if it exists

Meta