git_worktree_lookup

Lookup a working tree by its name for a given repository

extern (C) nothrow @nogc
int
git_worktree_lookup

Parameters

out_ libgit2_d.types.git_worktree**

Output pointer to looked up worktree or null

repo libgit2_d.types.git_repository*

The repository containing worktrees

name const(char)*

Name of the working tree to look up

Return Value

Type: int

0 or an error code

Meta