]> git.ipfire.org Git - thirdparty/git.git/blame - tag.h
path.c: mark 'logs/HEAD' in 'common_list' as file
[thirdparty/git.git] / tag.h
CommitLineData
2636f614
DB
1#ifndef TAG_H
2#define TAG_H
3
4#include "object.h"
5
6extern const char *tag_type;
7
8struct tag {
9 struct object object;
10 struct object *tagged;
11 char *tag;
dddbad72 12 timestamp_t date;
2636f614 13};
55454427
DL
14struct tag *lookup_tag(struct repository *r, const struct object_id *oid);
15int parse_tag_buffer(struct repository *r, struct tag *item, const void *data, unsigned long size);
16int parse_tag(struct tag *item);
17void release_tag_memory(struct tag *t);
18struct object *deref_tag(struct repository *r, struct object *, const char *, int);
19struct object *deref_tag_noverify(struct object *);
20int gpg_verify_tag(const struct object_id *oid,
ad6dad09 21 const char *name_to_report, unsigned flags);
d5e27688 22
2636f614 23#endif /* TAG_H */