tag.h 344 Bytes
Newer Older
1 2 3
#ifndef INCLUDE_tag_h__
#define INCLUDE_tag_h__

4
#include "git2/tag.h"
5
#include "repository.h"
Vicent Marti committed
6
#include "odb.h"
7 8

struct git_tag {
9
	git_object object;
10

11
	git_oid target;
12
	git_otype type;
13

14
	char *tag_name;
15
	git_signature *tagger;
16 17 18 19
	char *message;
};

void git_tag__free(git_tag *tag);
Vicent Marti committed
20
int git_tag__parse(git_tag *tag, git_odb_object *obj);
21 22

#endif