git_blob_lookup

Lookup a blob object from a repository.

extern (C) nothrow @nogc
int
git_blob_lookup

Parameters

blob libgit2_d.types.git_blob**

pointer to the looked up blob

repo libgit2_d.types.git_repository*

the repo to use when locating the blob.

id const(libgit2_d.oid.git_oid)*

identity of the blob to locate.

Return Value

Type: int

0 or an error code

Meta