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 --- reachability/reachability.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'reachability/reachability.go') diff --git a/reachability/reachability.go b/reachability/reachability.go index 31947525..7e34dc32 100644 --- a/reachability/reachability.go +++ b/reachability/reachability.go @@ -3,24 +3,24 @@ package reachability import ( commitgraphread "codeberg.org/lindenii/furgit/format/commitgraph/read" - objectstorer "codeberg.org/lindenii/furgit/object/storer" + objectstore "codeberg.org/lindenii/furgit/object/store" ) // Reachability provides graph traversal over objects in one object store. // // It is not safe for concurrent use. type Reachability struct { - store objectstorer.Store + store objectstore.Store graph *commitgraphread.Reader } // New builds a Reachability over one object store. -func New(store objectstorer.Store) *Reachability { +func New(store objectstore.Store) *Reachability { return &Reachability{store: store} } // NewWithCommitGraph builds a Reachability over one object store with an // optional commit-graph reader for faster commit-domain traversal. -func NewWithCommitGraph(store objectstorer.Store, graph *commitgraphread.Reader) *Reachability { +func NewWithCommitGraph(store objectstore.Store, graph *commitgraphread.Reader) *Reachability { return &Reachability{store: store, graph: graph} } -- cgit v1.3.1-10-gc9f91