blobs


Description:

public static void blobs (Blob? old_blob, string? old_as_path, Blob? new_blob, string? new_as_path, DiffOptions? diff_options, DiffFileCallback? file_cb, DiffBinaryCallback? binary_cb, DiffHunkCallback? hunk_cb, DiffLineCallback? line_cb) throws Error

Iterates over the diff calling file_cb, binary_cb, hunk_cb and line_cb.

The DiffFile mode always be 0, path will be null and when a blob is null the oid will be 0.

If diff_options is null then the defaults specified in DiffOptions are used.

Parameters:

old_blob

a Blob to diff from.

old_as_path

treat old_blob as if it had this filename, or null,

new_blob

a Blob to diff to.

new_as_path

treat new_blob as if it had this filename, or null,

diff_options

a DiffOptions, or null.

file_cb

a DiffFileCallback.

binary_cb

a DiffBinaryCallback.

hunk_cb

a DiffHunkCallback.

line_cb

a DiffLineCallback.

user_data

callback user data.