diff options
| author | 2026-03-06 11:54:21 +0800 | |
|---|---|---|
| committer | 2026-03-06 11:55:56 +0800 | |
| commit | c62c5544fa23378843a3383a9dcd4494e5ea33bc (patch) | |
| tree | 8b825a36767fe0ba3fb44f27cb634047c4c0318f /reachability/reachability.go | |
| parent | format/pack/ingest: Fix delta apply import (diff) | |
| signature | No signature | |
format/commitgraph: Split into ./read and ./ v0.1.60
Diffstat (limited to 'reachability/reachability.go')
| -rw-r--r-- | reachability/reachability.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/reachability/reachability.go b/reachability/reachability.go index 1180e32a..f9dab764 100644 --- a/reachability/reachability.go +++ b/reachability/reachability.go @@ -2,7 +2,7 @@ package reachability import ( - "codeberg.org/lindenii/furgit/format/commitgraph" + commitgraphread "codeberg.org/lindenii/furgit/format/commitgraph/read" "codeberg.org/lindenii/furgit/objectstore" ) @@ -11,7 +11,7 @@ import ( // It is not safe for concurrent use. type Reachability struct { store objectstore.Store - graph *commitgraph.Reader + graph *commitgraphread.Reader } // New builds a Reachability over one object store. @@ -21,6 +21,6 @@ func New(store objectstore.Store) *Reachability { // NewWithCommitGraph builds a Reachability over one object store with an // optional commit-graph reader for faster commit-domain traversal. -func NewWithCommitGraph(store objectstore.Store, graph *commitgraph.Reader) *Reachability { +func NewWithCommitGraph(store objectstore.Store, graph *commitgraphread.Reader) *Reachability { return &Reachability{store: store, graph: graph} } |
