mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-22 08:13:02 +00:00

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>
22 lines
364 B
C
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
|