1
mirror of https://github.com/rclone/rclone synced 2024-11-21 22:50:16 +01:00

union: remove unused code (fixes issue reported by the unused linter)

This commit is contained in:
albertony 2023-03-25 23:22:56 +01:00
parent 400d1a4468
commit 9cea493f58

View File

@ -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...)
}