diff options
| author | 2026-06-06 21:21:06 +0000 | |
|---|---|---|
| committer | 2026-06-06 21:21:06 +0000 | |
| commit | 11d8ea1378bca6cb364f15363b7e9e130d7b1c3d (patch) | |
| tree | 4d77d471dfbc68a1c4fa9f1af5e1cbfc47e84dd0 | |
| parent | config: QoL renames (diff) | |
| signature | No signature | |
Label fixes
| -rw-r--r-- | config/config.go | 2 | ||||
| -rw-r--r-- | object/blob/parse.go | 2 | ||||
| -rw-r--r-- | object/id/object_id_ops.go | 4 | ||||
| -rw-r--r-- | object/signature/signature.go | 2 | ||||
| -rw-r--r-- | ref/detached.go | 2 | ||||
| -rw-r--r-- | ref/symbolic.go | 2 |
6 files changed, 12 insertions, 2 deletions
diff --git a/config/config.go b/config/config.go index 3c594939..4252659f 100644 --- a/config/config.go +++ b/config/config.go @@ -17,6 +17,8 @@ import ( // and subsections must match exactly. // // Includes aren't supported yet; they will be supported in a later revision. +// +// Labels: MT-Safe. type Config struct { entries []Entry } diff --git a/object/blob/parse.go b/object/blob/parse.go index b5522e6a..c013af96 100644 --- a/object/blob/parse.go +++ b/object/blob/parse.go @@ -2,7 +2,7 @@ package blob // Parse decodes a blob object body. // -// Labels: Deps-Owned, Life-Independent. +// Labels: Life-Independent. func Parse(body []byte) (*Blob, error) { return &Blob{Data: append([]byte(nil), body...)}, nil } diff --git a/object/id/object_id_ops.go b/object/id/object_id_ops.go index b97cb19a..a8c08f33 100644 --- a/object/id/object_id_ops.go +++ b/object/id/object_id_ops.go @@ -11,6 +11,8 @@ func (id ObjectID) ObjectFormat() ObjectFormat { } // Bytes returns a copy of the object ID bytes. +// +// Labels: Life-Independent. func (id ObjectID) Bytes() []byte { size := id.ObjectFormat().Size() @@ -21,7 +23,7 @@ func (id ObjectID) Bytes() []byte { // // Prefer [ObjectID.Bytes] except for when it is a performance bottleneck. // -// Labels: Mut-No. +// Labels: Life-Parent, Mut-No. func (id *ObjectID) RawBytes() []byte { size := id.ObjectFormat().Size() diff --git a/object/signature/signature.go b/object/signature/signature.go index f01c5e2e..e9ec56c0 100644 --- a/object/signature/signature.go +++ b/object/signature/signature.go @@ -1,6 +1,8 @@ package signature // Signature represents a Git signature (author/committer/tagger). +// +// Labels: MT-Unsafe. type Signature struct { Name []byte Email []byte diff --git a/ref/detached.go b/ref/detached.go index 5fb1ed13..445c839e 100644 --- a/ref/detached.go +++ b/ref/detached.go @@ -3,6 +3,8 @@ package ref import objectid "lindenii.org/go/furgit/object/id" // Detached points directly to an object ID. +// +// Labels: MT-Unsafe. type Detached struct { RefName string ID objectid.ObjectID diff --git a/ref/symbolic.go b/ref/symbolic.go index af9f9e84..4809e937 100644 --- a/ref/symbolic.go +++ b/ref/symbolic.go @@ -1,6 +1,8 @@ package ref // Symbolic points to another reference name. +// +// Labels: MT-Unsafe. type Symbolic struct { RefName string Target string |
