THIS IS A TEST INSTANCE ONLY! REPOSITORIES CAN BE DELETED AT ANY TIME!

Git Source Code Mirror - This is a publish-only repository and all pull requests are ignored. Please follow Documentation/SubmittingPatches procedure for any of your improvements.
git
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
727B

  1. #ifndef TAG_H
  2. #define TAG_H
  3. #include "object.h"
  4. extern const char *tag_type;
  5. struct tag {
  6. struct object object;
  7. struct object *tagged;
  8. char *tag;
  9. timestamp_t date;
  10. };
  11. struct tag *lookup_tag(struct repository *r, const struct object_id *oid);
  12. int parse_tag_buffer(struct repository *r, struct tag *item, const void *data, unsigned long size);
  13. int parse_tag(struct tag *item);
  14. void release_tag_memory(struct tag *t);
  15. struct object *deref_tag(struct repository *r, struct object *, const char *, int);
  16. struct object *deref_tag_noverify(struct object *);
  17. int gpg_verify_tag(const struct object_id *oid,
  18. const char *name_to_report, unsigned flags);
  19. struct object_id *get_tagged_oid(struct tag *tag);
  20. #endif /* TAG_H */