aboutsummaryrefslogtreecommitdiff
path: root/object/fetch/fetcher.go
diff options
context:
space:
mode:
Diffstat (limited to 'object/fetch/fetcher.go')
-rw-r--r--object/fetch/fetcher.go20
1 files changed, 0 insertions, 20 deletions
diff --git a/object/fetch/fetcher.go b/object/fetch/fetcher.go
deleted file mode 100644
index fcd64d88..00000000
--- a/object/fetch/fetcher.go
+++ /dev/null
@@ -1,20 +0,0 @@
-package fetch
-
-import objectstore "codeberg.org/lindenii/furgit/object/store"
-
-// Fetcher provides ordinary object access above an object store.
-//
-// It exposes object metadata, typed object loading, tree-ish and commit-ish
-// peeling, path resolution, one-tree fs views, and blob content streaming.
-//
-// Labels: MT-Safe.
-type Fetcher struct {
- store objectstore.Reader
-}
-
-// New returns a Fetcher that reads objects from store.
-//
-// Labels: Deps-Borrowed, Life-Parent.
-func New(store objectstore.Reader) *Fetcher {
- return &Fetcher{store: store}
-}