git_worktree_list

List names of linked working trees

The returned list should be released with git_strarray_free when no longer needed.

extern (C) nothrow @nogc
int
git_worktree_list

Parameters

out_ libgit2_d.strarray.git_strarray*

pointer to the array of working tree names

repo libgit2_d.types.git_repository*

the repo to use when listing working trees

Return Value

Type: int

0 or an error code

Meta