From e4a7aa0742f5070299d37e8421c99d67f0af3f90 Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Wed, 25 Mar 2026 14:34:50 +0000 Subject: *: object/store -> object/storer --- packfile/ingest/api.go | 4 ++-- packfile/ingest/thin_fix.go | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'packfile') diff --git a/packfile/ingest/api.go b/packfile/ingest/api.go index 38d7f079..860ce5f5 100644 --- a/packfile/ingest/api.go +++ b/packfile/ingest/api.go @@ -8,7 +8,7 @@ import ( "os" objectid "codeberg.org/lindenii/furgit/object/id" - "codeberg.org/lindenii/furgit/object/store" + "codeberg.org/lindenii/furgit/object/storer" ) // 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 objectstore.Store + Base objectstorer.Store // Progress receives human-readable progress messages. // // When nil, no progress output is emitted. diff --git a/packfile/ingest/thin_fix.go b/packfile/ingest/thin_fix.go index 083c7173..1be75f8e 100644 --- a/packfile/ingest/thin_fix.go +++ b/packfile/ingest/thin_fix.go @@ -6,7 +6,7 @@ import ( "codeberg.org/lindenii/furgit/internal/intconv" "codeberg.org/lindenii/furgit/internal/progress" - "codeberg.org/lindenii/furgit/object/store" + "codeberg.org/lindenii/furgit/object/storer" ) // 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, objectstore.ErrObjectNotFound) { + if errors.Is(err, objectstorer.ErrObjectNotFound) { continue } -- cgit v1.3.1-10-gc9f91