git_blob_rawcontent

Get a read-only buffer with the raw content of a blob.

A pointer to the raw content of a blob is returned; this pointer is owned internally by the object and shall not be free'd. The pointer may be invalidated at a later time.

extern (C) nothrow @nogc
const(void)*
git_blob_rawcontent

Parameters

blob const(libgit2_d.types.git_blob)*

pointer to the blob

Return Value

Type: const(void)*

the pointer

Meta