git_worktree_open_from_repository

Open a worktree of a given repository

If a repository is not the main tree but a worktree, this function will look up the worktree inside the parent repository and create a new git_worktree structure.

extern (C) nothrow @nogc
int
git_worktree_open_from_repository

Parameters

out_ libgit2_d.types.git_worktree**

Out-pointer for the newly allocated worktree

repo libgit2_d.types.git_repository*

Repository to look up worktree for

Meta