diff options
| author | 2026-03-28 04:19:44 +0000 | |
|---|---|---|
| committer | 2026-03-28 04:20:29 +0000 | |
| commit | 402ef2733813d128631ca4aea18c2908c74340d5 (patch) | |
| tree | e03a90b6f41411bd62e7339390802c5c50082850 /object/fetch/fetcher.go | |
| parent | object/store: Rename from object/storer (diff) | |
| signature | No signature | |
object/store: Rename back from storer; rename Store to ReadingStore v0.1.118
Diffstat (limited to 'object/fetch/fetcher.go')
| -rw-r--r-- | object/fetch/fetcher.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/object/fetch/fetcher.go b/object/fetch/fetcher.go index b0c3d099..b3787480 100644 --- a/object/fetch/fetcher.go +++ b/object/fetch/fetcher.go @@ -6,12 +6,12 @@ import objectstore "codeberg.org/lindenii/furgit/object/store" // // A Fetcher does not take ownership of the store and does not close it. type Fetcher struct { - store objectstore.Store + store objectstore.ReadingStore } // New returns a Fetcher that reads objects from store. // // The returned Fetcher does not take ownership of store. -func New(store objectstore.Store) *Fetcher { +func New(store objectstore.ReadingStore) *Fetcher { return &Fetcher{store: store} } |
