diff options
Diffstat (limited to 'object/commit.go')
| -rw-r--r-- | object/commit.go | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/object/commit.go b/object/commit.go index 0183ff02..92b7fcdc 100644 --- a/object/commit.go +++ b/object/commit.go @@ -1,6 +1,9 @@ package object -import "codeberg.org/lindenii/furgit/oid" +import ( + "codeberg.org/lindenii/furgit/objecttype" + "codeberg.org/lindenii/furgit/oid" +) // Commit represents a Git commit object. type Commit struct { @@ -14,7 +17,7 @@ type Commit struct { } // ObjectType returns TypeCommit. -func (commit *Commit) ObjectType() Type { +func (commit *Commit) ObjectType() objecttype.Type { _ = commit - return TypeCommit + return objecttype.TypeCommit } |
