aboutsummaryrefslogtreecommitdiff
path: root/format/packfile
diff options
context:
space:
mode:
Diffstat (limited to 'format/packfile')
-rw-r--r--format/packfile/ingest/api.go4
-rw-r--r--format/packfile/ingest/thin_fix.go4
2 files changed, 4 insertions, 4 deletions
diff --git a/format/packfile/ingest/api.go b/format/packfile/ingest/api.go
index ce366a4f..bb57eb48 100644
--- a/format/packfile/ingest/api.go
+++ b/format/packfile/ingest/api.go
@@ -8,7 +8,7 @@ import (
"os"
objectid "codeberg.org/lindenii/furgit/object/id"
- objectstorer "codeberg.org/lindenii/furgit/object/storer"
+ objectstore "codeberg.org/lindenii/furgit/object/store"
)
// Options controls one pack ingest operation.
@@ -18,7 +18,7 @@ type Options struct {
// WriteRev writes a .rev alongside the .pack and .idx.
WriteRev bool
// Base supplies existing objects for thin-pack fixup.
- Base objectstorer.Store
+ Base objectstore.Store
// Progress receives human-readable progress messages.
//
// When nil, no progress output is emitted.
diff --git a/format/packfile/ingest/thin_fix.go b/format/packfile/ingest/thin_fix.go
index 83e5572a..3dad1354 100644
--- a/format/packfile/ingest/thin_fix.go
+++ b/format/packfile/ingest/thin_fix.go
@@ -6,7 +6,7 @@ import (
"codeberg.org/lindenii/furgit/internal/intconv"
"codeberg.org/lindenii/furgit/internal/progress"
- objectstorer "codeberg.org/lindenii/furgit/object/storer"
+ objectstore "codeberg.org/lindenii/furgit/object/store"
)
// maybeFixThin appends missing bases and rewrites pack header/trailer when needed.
@@ -71,7 +71,7 @@ func maybeFixThin(state *ingestState) error {
for _, id := range baseIDs {
ty, content, err := state.opts.Base.ReadBytesContent(id)
if err != nil {
- if errors.Is(err, objectstorer.ErrObjectNotFound) {
+ if errors.Is(err, objectstore.ErrObjectNotFound) {
continue
}