aboutsummaryrefslogtreecommitdiff
path: root/object/fetch
diff options
context:
space:
mode:
authorGravatar Runxi Yu2026-03-30 12:24:49 +0000
committerGravatar Runxi Yu2026-03-30 12:24:49 +0000
commit30bc08762a5aa33b9f47af304d51ef3878752b2f (patch)
tree911aeade437eaf89d0c8a35d262bc69e7c560a69 /object/fetch
parentobject/tree: Regular files and types (diff)
signatureNo signature
object/store: ReadingStore -> Reader
Diffstat (limited to 'object/fetch')
-rw-r--r--object/fetch/fetcher.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/object/fetch/fetcher.go b/object/fetch/fetcher.go
index 6bee86a8..36eb808a 100644
--- a/object/fetch/fetcher.go
+++ b/object/fetch/fetcher.go
@@ -6,12 +6,12 @@ import objectstore "codeberg.org/lindenii/furgit/object/store"
//
// Labels: MT-Safe.
type Fetcher struct {
- store objectstore.ReadingStore
+ store objectstore.Reader
}
// New returns a Fetcher that reads objects from store.
//
// Labels: Deps-Borrowed, Life-Parent.
-func New(store objectstore.ReadingStore) *Fetcher {
+func New(store objectstore.Reader) *Fetcher {
return &Fetcher{store: store}
}