git_describe_workdir

Describe a commit

Perform the describe operation on the current commit and the worktree. After peforming describe on HEAD, a status is run and the description is considered to be dirty if there are.

extern (C) nothrow @nogc
int
git_describe_workdir

Parameters

out_ .git_describe_result**

pointer to store the result. You must free this once you're done with it.

repo libgit2_d.types.git_repository*

the repository in which to perform the describe

opts .git_describe_options*

the lookup options (or NULL for defaults)

Meta