diff options
| author | Vicent Marti <tanoku@gmail.com> | 2011-04-02 12:28:35 +0300 |
|---|---|---|
| committer | Vicent Marti <tanoku@gmail.com> | 2011-04-02 12:28:35 +0300 |
| commit | d8ad64d3669182d368120a9b8db1147421498e22 (patch) | |
| tree | 07558263d7df5d10b64fe4d994e844f59b4fa554 /include | |
| parent | ccfce5f30fd1e906625594fad98e079b1cfe03d3 (diff) | |
| parent | 7b4a16e2c8869ba18264d0c44996880c8f9bb095 (diff) | |
| download | libgit2-d8ad64d3669182d368120a9b8db1147421498e22.tar.gz | |
Merge branch 'parse-tag-buffer' of https://github.com/carlosmn/libgit2 into development
Diffstat (limited to 'include')
| -rw-r--r-- | include/git2/tag.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/include/git2/tag.h b/include/git2/tag.h index ee92cd5c2..c47e3412c 100644 --- a/include/git2/tag.h +++ b/include/git2/tag.h @@ -188,6 +188,20 @@ GIT_EXTERN(int) git_tag_create_o( const git_signature *tagger, const char *message); +/** + * Create a new tag in the repository from a buffer + * + * @param oid Pointer where to store the OID of the newly created tag + * + * @param repo Repository where to store the tag + * + * @param buffer Raw tag data + */ +GIT_EXTERN(int) git_tag_create_frombuffer( + git_oid *oid, + git_repository *repo, + const char *buffer); + /** @} */ GIT_END_DECL #endif |
