Function
GgitDiffblob_to_buffer
Declaration [src]
void
ggit_diff_blob_to_buffer (
GgitBlob* old_blob,
const gchar* old_as_path,
const guint8* buffer,
gssize buffer_len,
const gchar* buffer_as_path,
GgitDiffOptions* diff_options,
GgitDiffFileCallback file_cb,
GgitDiffBinaryCallback binary_cb,
GgitDiffHunkCallback hunk_cb,
GgitDiffLineCallback line_cb,
gpointer user_data,
GError** error
)
Parameters
old_blob |
GgitBlob |
A |
|
The argument can be NULL . | |
The data is owned by the caller of the function. | |
old_as_path |
const gchar* |
Treat |
|
The argument can be NULL . | |
The data is owned by the caller of the function. | |
The value is a NUL terminated UTF-8 string. | |
buffer |
An array of guint8 |
A buffer to diff to. |
|
The argument can be NULL . | |
The length of the array is specified in the buffer_len argument. | |
The data is owned by the caller of the function. | |
buffer_len |
gssize |
Length of |
|
buffer_as_path |
const gchar* |
Treat |
|
The argument can be NULL . | |
The data is owned by the caller of the function. | |
The value is a NUL terminated UTF-8 string. | |
diff_options |
GgitDiffOptions |
A |
|
The argument can be NULL . | |
The data is owned by the caller of the function. | |
file_cb |
GgitDiffFileCallback |
a |
|
binary_cb |
GgitDiffBinaryCallback |
a |
|
hunk_cb |
GgitDiffHunkCallback |
a |
|
line_cb |
GgitDiffLineCallback |
a |
|
user_data |
gpointer |
Callback user data. |
|
The argument can be NULL . | |
The data is owned by the caller of the function. | |
error |
GError ** |
The return location for a GError* , or NULL . |