diff options
| author | 2026-04-02 09:08:15 +0000 | |
|---|---|---|
| committer | 2026-04-02 09:08:15 +0000 | |
| commit | 92e95d907d2b88c10d7fd790806e1a1e9bedfda2 (patch) | |
| tree | c3d8005f25a45b3fdfb7be90a26c3011d0e3efe3 /object | |
| parent | furgit: I forgot to add lifetime labels (diff) | |
| signature | No signature | |
object/signature: Rename Serialize to Bytes
Diffstat (limited to 'object')
| -rw-r--r-- | object/signature/bytes.go (renamed from object/signature/serialize.go) | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/object/signature/serialize.go b/object/signature/bytes.go index 3f60d20d..0afff5e0 100644 --- a/object/signature/serialize.go +++ b/object/signature/bytes.go @@ -6,8 +6,8 @@ import ( "strings" ) -// Serialize renders the signature in canonical Git format. -func (signature Signature) Serialize() ([]byte, error) { +// Bytes renders the signature in canonical Git format. +func (signature Signature) Bytes() ([]byte, error) { var b strings.Builder b.Grow(len(signature.Name) + len(signature.Email) + 32) b.Write(signature.Name) |
