aboutsummaryrefslogtreecommitdiff
path: root/object/commit/commit.go
diff options
context:
space:
mode:
Diffstat (limited to 'object/commit/commit.go')
-rw-r--r--object/commit/commit.go25
1 files changed, 0 insertions, 25 deletions
diff --git a/object/commit/commit.go b/object/commit/commit.go
deleted file mode 100644
index 0f7649e1..00000000
--- a/object/commit/commit.go
+++ /dev/null
@@ -1,25 +0,0 @@
-// Package commit provides parsed commit objects and commit serialization.
-//
-// It parses commits 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/commit].
-package commit
-
-import (
- objectid "codeberg.org/lindenii/furgit/object/id"
- objectsignature "codeberg.org/lindenii/furgit/object/signature"
-)
-
-// Commit represents a fully materialized Git commit object.
-//
-// Labels: MT-Unsafe.
-type Commit struct {
- Tree objectid.ObjectID
- Parents []objectid.ObjectID
- Author objectsignature.Signature
- Committer objectsignature.Signature
- Message []byte
- ChangeID string
- ExtraHeaders []ExtraHeader
-}