libgit2

git_worktree_path

Version:

Retrieve the filesystem path for the worktree

Signature

const char *git_worktree_path(const git_worktree *wt);

Parameters

In
wt

Worktree to get the path for

Returns

const char *

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

Versions