aboutsummaryrefslogtreecommitdiff
path: root/object/store/packed/delta_build_chain.go
diff options
context:
space:
mode:
authorGravatar Runxi Yu2026-03-29 11:05:46 +0000
committerGravatar Runxi Yu2026-03-29 11:05:46 +0000
commit0109f0903d8e18d110d6b9456f9a1fb4501e62fc (patch)
treef1b95c7c64d79fa0dab0251661600a299d8aefcb /object/store/packed/delta_build_chain.go
parentobject{,/type}: Fix up API shape (diff)
signatureNo signature
object/type, format/packfile: API cleanups
Diffstat (limited to 'object/store/packed/delta_build_chain.go')
-rw-r--r--object/store/packed/delta_build_chain.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/object/store/packed/delta_build_chain.go b/object/store/packed/delta_build_chain.go
index 59f83542..a528f705 100644
--- a/object/store/packed/delta_build_chain.go
+++ b/object/store/packed/delta_build_chain.go
@@ -3,7 +3,6 @@ package packed
import (
"fmt"
- packfmt "codeberg.org/lindenii/furgit/format/packfile"
objecttype "codeberg.org/lindenii/furgit/object/type"
)
@@ -26,7 +25,7 @@ func (store *Store) deltaBuildChain(start location) (deltaChain, error) {
return deltaChain{}, err
}
- if packfmt.IsBaseObjectType(meta.ty) {
+ if meta.ty.IsBaseObject() {
chain.baseLoc = current
chain.baseType = meta.ty