aboutsummaryrefslogtreecommitdiff
path: root/format/packfile/ingest/entry.go
diff options
context:
space:
mode:
Diffstat (limited to 'format/packfile/ingest/entry.go')
-rw-r--r--format/packfile/ingest/entry.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/format/packfile/ingest/entry.go b/format/packfile/ingest/entry.go
index 50fbe728..363e213c 100644
--- a/format/packfile/ingest/entry.go
+++ b/format/packfile/ingest/entry.go
@@ -3,7 +3,6 @@ package ingest
import (
"fmt"
- packfmt "codeberg.org/lindenii/furgit/format/packfile"
objecttype "codeberg.org/lindenii/furgit/object/type"
)
@@ -54,7 +53,7 @@ func scanOneEntry(state *ingestState, startOffset uint64) (uint64, error) {
record.crc32 = crc
- if packfmt.IsBaseObjectType(record.packedType) {
+ if record.packedType.IsBaseObject() {
record.objectID = oid
record.realType = record.packedType
record.resolved = true