aboutsummaryrefslogtreecommitdiff
path: root/object/id
diff options
context:
space:
mode:
authorGravatar Runxi Yu2026-06-06 21:21:06 +0000
committerGravatar Runxi Yu2026-06-06 21:21:06 +0000
commit11d8ea1378bca6cb364f15363b7e9e130d7b1c3d (patch)
tree4d77d471dfbc68a1c4fa9f1af5e1cbfc47e84dd0 /object/id
parentconfig: QoL renames (diff)
signatureNo signature
Label fixes
Diffstat (limited to 'object/id')
-rw-r--r--object/id/object_id_ops.go4
1 files changed, 3 insertions, 1 deletions
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()