Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src/tag.h
diff options
context:
space:
mode:
authorVicent Marti <tanoku@gmail.com>2010-10-07 01:20:08 +0400
committerVicent Marti <tanoku@gmail.com>2010-10-07 01:20:08 +0400
commitec25391dbb5ee6800b48362deadd73599701224f (patch)
tree3d827e1f427ff393d56dfff68a8fa7ee7c2e093b /src/tag.h
parentc4b5bedc972d9238db5d6422bc6f4de35b4b67ed (diff)
Add write-back support for Tag files
Tag files can now be created and modified in-memory (all the setter methods have been implemented), and written back to disk using the generic git_object_write() method. Signed-off-by: Vicent Marti <tanoku@gmail.com>
Diffstat (limited to 'src/tag.h')
-rw-r--r--src/tag.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tag.h b/src/tag.h
index 6d9cd8232..fbf520868 100644
--- a/src/tag.h
+++ b/src/tag.h
@@ -16,5 +16,6 @@ struct git_tag {
void git_tag__free(git_tag *tag);
int git_tag__parse(git_tag *tag);
+int git_tag__writeback(git_tag *tag, git_odb_source *src);
#endif