diff options
| author | 2026-03-25 14:49:17 +0000 | |
|---|---|---|
| committer | 2026-03-25 15:02:22 +0000 | |
| commit | 7847657e0820af98120031f719b8ede635ad8c07 (patch) | |
| tree | 8c4439c78f72f1382edc809b49be33115847b6e7 /object/commit.go | |
| parent | object: Remove type.go (diff) | |
| signature | No signature | |
object: Split each object type into its own package v0.1.108
Diffstat (limited to 'object/commit.go')
| -rw-r--r-- | object/commit.go | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/object/commit.go b/object/commit.go deleted file mode 100644 index f7b0d676..00000000 --- a/object/commit.go +++ /dev/null @@ -1,24 +0,0 @@ -package object - -import ( - objectid "codeberg.org/lindenii/furgit/object/id" - objecttype "codeberg.org/lindenii/furgit/object/type" -) - -// Commit represents a Git commit object. -type Commit struct { - Tree objectid.ObjectID - Parents []objectid.ObjectID - Author Signature - Committer Signature - Message []byte - ChangeID string - ExtraHeaders []ExtraHeader -} - -// ObjectType returns TypeCommit. -func (commit *Commit) ObjectType() objecttype.Type { - _ = commit - - return objecttype.TypeCommit -} |
