git_repository_is_worktree

Check if a repository is a linked work tree

extern (C) nothrow @nogc
int
git_repository_is_worktree

Parameters

repo const(libgit2_d.types.git_repository)*

Repo to test

Return Value

Type: int

1 if the repository is a linked work tree, 0 otherwise.

Meta