aboutsummaryrefslogtreecommitdiff
path: root/object/commit/type.go
diff options
context:
space:
mode:
Diffstat (limited to 'object/commit/type.go')
-rw-r--r--object/commit/type.go10
1 files changed, 10 insertions, 0 deletions
diff --git a/object/commit/type.go b/object/commit/type.go
new file mode 100644
index 00000000..b8aa11e8
--- /dev/null
+++ b/object/commit/type.go
@@ -0,0 +1,10 @@
+package commit
+
+import objecttype "codeberg.org/lindenii/furgit/object/type"
+
+// ObjectType returns TypeCommit.
+func (commit *Commit) ObjectType() objecttype.Type {
+ _ = commit
+
+ return objecttype.TypeCommit
+}