diff options
Diffstat (limited to 'include/git2')
| -rw-r--r-- | include/git2/deprecated.h | 10 | ||||
| -rw-r--r-- | include/git2/filter.h | 13 |
2 files changed, 10 insertions, 13 deletions
diff --git a/include/git2/deprecated.h b/include/git2/deprecated.h index a51950906..ac60488ac 100644 --- a/include/git2/deprecated.h +++ b/include/git2/deprecated.h @@ -141,6 +141,16 @@ GIT_EXTERN(int) git_filter_list_stream_data( git_buf *data, git_writestream *target); +/** Deprecated in favor of `git_filter_list_apply_to_buffer`. + * + * @deprecated Use git_filter_list_apply_to_buffer + * @see Use git_filter_list_apply_to_buffer + */ +GIT_EXTERN(int) git_filter_list_apply_to_data( + git_buf *out, + git_filter_list *filters, + git_buf *in); + /**@}*/ /** @name Deprecated Tree Functions diff --git a/include/git2/filter.h b/include/git2/filter.h index 3e84877df..a0185ee88 100644 --- a/include/git2/filter.h +++ b/include/git2/filter.h @@ -135,19 +135,6 @@ GIT_EXTERN(int) git_filter_list_apply_to_buffer( size_t in_len); /** - * Apply filter list to a data buffer. - * - * @param out Buffer to store the result of the filtering - * @param filters A loaded git_filter_list (or NULL) - * @param in Buffer containing the data to filter - * @return 0 on success, an error code otherwise - */ -GIT_EXTERN(int) git_filter_list_apply_to_data( - git_buf *out, - git_filter_list *filters, - git_buf *in); - -/** * Apply a filter list to the contents of a file on disk * * @param out buffer into which to store the filtered file |
