"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files
Go azure-blobazure-blob-storageazure-filesbackblaze-b2cloud-storagedropboxencryptionftpfuse-filesystemgogolanggoogle-cloud-storagegoogle-driveonedriveopenstack-swiftrclones3sftpsyncwebdav
webgui: remove unused code (fixes issue reported by the unused linter)
albertony448ae49fa471
diff --git a/fs/rc/webgui/plugins.go b/fs/rc/webgui/plugins.goindex c51eeab57..8784ae465 100644--- a/fs/rc/webgui/plugins.go+++ b/fs/rc/webgui/plugins.go@@ -152,33 +152,6 @@ func (p *Plugins) addPlugin(pluginName string, packageJSONPath string) (err erroreturn nil}-func (p *Plugins) addTestPlugin(pluginName string, testURL string, handlesType []string) (err error) {- p.mutex.Lock()- defer p.mutex.Unlock()- err = p.readFromFile()- if err != nil {- return err- }-- var pkgJSON = PackageJSON{- Name: pluginName,- TestURL: testURL,- Rclone: RcloneConfig{- HandlesType: handlesType,- Test: true,- },- }-- p.LoadedPlugins[pluginName] = pkgJSON-- err = p.writeToFile()- if err != nil {- return err- }-- return nil-}-func (p *Plugins) writeToFile() (err error) {availablePluginsJSON := filepath.Join(pluginsConfigPath, p.fileName)