git_odb_exists

Determine if the given object can be found in the object database.

extern (C) nothrow @nogc public
int
git_odb_exists

Parameters

db libgit2.types.git_odb*

database to be searched for the given object.

id const(libgit2.oid.git_oid)*

the object to search for.

Return Value

Type: int

1 if the object was found, 0 otherwise

Meta