diff options
| author | Edward Thomson <ethomson@edwardthomson.com> | 2019-07-21 11:03:01 +0100 |
|---|---|---|
| committer | Edward Thomson <ethomson@edwardthomson.com> | 2019-08-11 20:47:59 +0100 |
| commit | fa1a4c77f5f2c504f900035496e1b483acac412b (patch) | |
| tree | 01e58502b1ebdf2988c6b01fde0290a72556aee3 /include/git2/deprecated.h | |
| parent | a008ceeaf774484cc0b5d10b7f2fcd1592c354bb (diff) | |
| download | libgit2-fa1a4c77f5f2c504f900035496e1b483acac412b.tar.gz | |
blob: deprecate `git_blob_filtered_content`
Users should now use `git_blob_filter`.
Diffstat (limited to 'include/git2/deprecated.h')
| -rw-r--r-- | include/git2/deprecated.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/git2/deprecated.h b/include/git2/deprecated.h index fec56b18b..1abfd501f 100644 --- a/include/git2/deprecated.h +++ b/include/git2/deprecated.h @@ -90,6 +90,13 @@ GIT_EXTERN(int) git_blob_create_fromstream_commit( GIT_EXTERN(int) git_blob_create_frombuffer( git_oid *id, git_repository *repo, const void *buffer, size_t len); +/** Deprecated in favor of @see git_blob_filter */ +GIT_EXTERN(int) git_blob_filtered_content( + git_buf *out, + git_blob *blob, + const char *as_path, + int check_for_binary_data); + /**@}*/ /** @name Deprecated Buffer Functions |
