libgit2

git_worktree_name

Version:

Retrieve the name of the worktree

Signature

const char *git_worktree_name(const git_worktree *wt);

Parameters

In
wt

Worktree to get the name for

Returns

const char *

The worktree's name. The pointer returned is valid for the lifetime of the git_worktree

Versions