From d7e90798170265b37ea5f980f94ca310cfda3180 Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Fri, 27 Mar 2026 09:08:40 +0000 Subject: object/store: Rename from object/storer --- format/packfile/ingest/api.go | 4 ++-- format/packfile/ingest/thin_fix.go | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'format/packfile') 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 } -- cgit v1.3.1-10-gc9f91