git_worktree_validate

Check if worktree is valid

A valid worktree requires both the git data structures inside the linked parent repository and the linked working copy to be present.

extern (C) nothrow @nogc
int
git_worktree_validate

Parameters

wt const(libgit2_d.types.git_worktree)*

Worktree to check

Return Value

Type: int

0 when worktree is valid, error-code otherwise

Meta