git_odb_exists_ext

Determine if the given object can be found in the object database, with extended options.

extern (C) nothrow @nogc public
int
git_odb_exists_ext

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.

flags uint

flags affecting the lookup (see git_odb_lookup_flags_t)

Return Value

Type: int

1 if the object was found, 0 otherwise

Meta