aboutsummaryrefslogtreecommitdiff
path: root/object/tag.go
blob: 50c4b273639ac06c30bb09fbdb3530ab7ade329a (about) (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
package object

import (
	objectid "codeberg.org/lindenii/furgit/object/id"
	objecttype "codeberg.org/lindenii/furgit/object/type"
)

// Tag represents a Git annotated tag object.
type Tag struct {
	Target     objectid.ObjectID
	TargetType objecttype.Type
	Name       []byte
	Tagger     *Signature
	Message    []byte
}

// ObjectType returns TypeTag.
func (tag *Tag) ObjectType() objecttype.Type {
	_ = tag

	return objecttype.TypeTag
}