libgit2/src/tag.h
Vicent Marti ec25391dbb 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>
2010-10-07 00:20:08 +03:00

22 lines
364 B
C

#ifndef INCLUDE_tag_h__
#define INCLUDE_tag_h__
#include "git/tag.h"
#include "repository.h"
struct git_tag {
git_object object;
git_object *target;
git_otype type;
char *tag_name;
git_person *tagger;
char *message;
};
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