libgit2

git_filter_stream_fn

Version:

Callback to perform the data filtering.

Specified as filter.stream, this is a callback that filters data in a streaming manner. This function will provide a git_writestream that will the original data will be written to; with that data, the git_writestream will then perform the filter translation and stream the filtered data out to the next location.

Signature

typedef int git_filter_stream_fn(git_writestream **, git_filter *, void **, const git_filter_source *, git_writestream *);

Parameters

Versions