blob: e01f8ac90180836ee61877e1af3e1f5e7fea3a58 (
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
23
24
|
// Package tag provides parsed annotated tag objects and tag serialization.
//
// It parses annotated tags into ordinary Go values for reading and
// construction. It does not preserve the exact original byte layout needed for
// signature verification; callers that need signature-verification payload
// fidelity should use [codeberg.org/lindenii/furgit/object/signed/tag].
package tag
import (
objectid "codeberg.org/lindenii/furgit/object/id"
objectsignature "codeberg.org/lindenii/furgit/object/signature"
objecttype "codeberg.org/lindenii/furgit/object/type"
)
// Tag represents a fully materialized Git annotated tag object.
//
// Labels: MT-Unsafe.
type Tag struct {
Target objectid.ObjectID
TargetType objecttype.Type
Name []byte
Tagger *objectsignature.Signature
Message []byte
}
|