diff options
| author | 2025-11-16 00:00:00 +0000 | |
|---|---|---|
| committer | 2025-11-16 00:00:00 +0000 | |
| commit | 503f2f1bbc69be553d04c621c7ec33931cc1f57d (patch) | |
| tree | 289b2ea2dc589d6ce7efc3e44966eabb6739d3f2 /obj_tag.go | |
| parent | README: benmarking -> test (diff) | |
| signature | ||
Add a little bit more of documentation
Diffstat (limited to 'obj_tag.go')
| -rw-r--r-- | obj_tag.go | 15 |
1 files changed, 11 insertions, 4 deletions
@@ -8,13 +8,20 @@ import ( // Tag represents a Git annotated tag object. type Tag struct { - Target Hash + // Target represents the hash of the object being tagged. + Target Hash + // TargetType represents the type of the object being tagged. TargetType ObjectType - Name []byte - Tagger *Ident - Message []byte + // Name represents the name of the tag. + Name []byte + // Tagger represents the identity of the tagger. + Tagger *Ident + // Message represents the tag message. + Message []byte } +// TODO: ExtraHeaders and signatures + // StoredTag represents a tag stored in the object database. type StoredTag struct { Tag |
