![]() |
![]() |
![]() |
libgit2-glib Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy |
GgitBlob; struct GgitBlobClass; const guchar * ggit_blob_get_raw_content (GgitBlob *blob
,gsize *length
);
const guchar * ggit_blob_get_raw_content (GgitBlob *blob
,gsize *length
);
Gets a read-only buffer with the raw contents of blob
.
A pointer to the raw contents of blob
is returned.
This pointer is owned internally by object
and must
not be free'd. The pointer may be invalidated at a later
time.
|
a GgitBlob. |
|
return value of the length of the data. [out][allow-none] |
Returns : |
the blob content or
NULL if the blob does not have any content. [array length=length][element-type guchar]
|