git_repository_is_shallow

Determine if the repository was a shallow clone

extern (C) nothrow @nogc
int
git_repository_is_shallow

Parameters

repo libgit2_d.types.git_repository*

The repository

Return Value

Type: int

1 if shallow, zero if not

Meta