diff options
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 -} |
