libgit2

git_filter_list_stream_file

Version:

Apply a filter list to a file as a stream

Signature

int git_filter_list_stream_file(git_filter_list *filters, git_repository *repo, const char *path, git_writestream *target);

Parameters

In
filters

the list of filters to apply

In
repo

the repository in which to perform the filtering

const char *
In
path

the path of the file to filter, a relative path will be taken as relative to the workdir

In
target

the stream into which the data will be written

Returns

int

Versions