git_repository_open_from_worktree

Open working tree as a repository

Open the working directory of the working tree as a normal repository that can then be worked on.

extern (C) nothrow @nogc
int
git_repository_open_from_worktree

Parameters

out_ libgit2_d.types.git_repository**

Output pointer containing opened repository

wt libgit2_d.types.git_worktree*

Working tree to open

Return Value

Type: int

0 or an error code

Meta