From 9cea493f58cd4f761dfdf5d0bf1e273213bf1575 Mon Sep 17 00:00:00 2001 From: albertony <12441419+albertony@users.noreply.github.com> Date: Sat, 25 Mar 2023 23:22:56 +0100 Subject: [PATCH] union: remove unused code (fixes issue reported by the unused linter) --- backend/union/union.go | 8 -------- 1 file changed, 8 deletions(-) diff --git a/backend/union/union.go b/backend/union/union.go index aeb0aeca6..1b3c0f4db 100644 --- a/backend/union/union.go +++ b/backend/union/union.go @@ -756,14 +756,6 @@ func (f *Fs) create(ctx context.Context, path string) ([]*upstream.Fs, error) { return f.createPolicy.Create(ctx, f.upstreams, path) } -func (f *Fs) createEntries(entries ...upstream.Entry) ([]upstream.Entry, error) { - return f.createPolicy.CreateEntries(entries...) -} - -func (f *Fs) search(ctx context.Context, path string) (*upstream.Fs, error) { - return f.searchPolicy.Search(ctx, f.upstreams, path) -} - func (f *Fs) searchEntries(entries ...upstream.Entry) (upstream.Entry, error) { return f.searchPolicy.SearchEntries(entries...) }