Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/git/blob/master/tag.h # git [Ported from github.com/git/git] Sync with Git 2.56.1 Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `master` Branches Tags History `git / tag.h` 23 lines ยท 719 bytes Raw Blame History 1 #ifndef TAG_H 2 #define TAG_H 3 4 #include "object.h" 5 6 extern const char *tag_type; 7 8 struct tag { 9 struct object object; 10 struct object *tagged; 11 char *tag; 12 timestamp_t date; 13 }; 14 struct tag *lookup_tag(struct repository *r, const struct object_id *oid); 15 int parse_tag_buffer(struct repository *r, struct tag *item, const void *data, unsigned long size); 16 int parse_tag(struct repository *r, struct tag *item); 17 void release_tag_memory(struct tag *t); 18 struct object *deref_tag(struct repository *r, struct object *, const char *, int); 19 int gpg_verify_tag(struct repository *r, const struct object_id *oid, 20 const char *name_to_report, unsigned flags); 21 struct object_id *get_tagged_oid(struct tag *tag); 22 23 #endif /* TAG_H */