aboutsummaryrefslogtreecommitdiff
path: root/object/type/details.go
diff options
context:
space:
mode:
authorGravatar Runxi Yu2026-03-29 11:13:33 +0000
committerGravatar Runxi Yu2026-03-29 11:13:33 +0000
commit301bb73dcad265af9c4b1028d7f33863c7b607d0 (patch)
treea4ad4af2ca7689e1f5cfbec90c05988d61154a7c /object/type/details.go
parentobject/type, format/packfile: API cleanups (diff)
signatureNo signature
object/type: Use table structure v0.1.143
Diffstat (limited to 'object/type/details.go')
-rw-r--r--object/type/details.go10
1 files changed, 10 insertions, 0 deletions
diff --git a/object/type/details.go b/object/type/details.go
new file mode 100644
index 00000000..17bdcfd4
--- /dev/null
+++ b/object/type/details.go
@@ -0,0 +1,10 @@
+package objecttype
+
+type typeDetails struct {
+ name string
+ isBaseObject bool
+}
+
+func (ty Type) details() typeDetails {
+ return typeTable[ty]
+}