func (c *Cache) LoadPlugins() error {
	c.plugins = nil
	plugins, err := loadPlugins(c.config.GetPluginsPath())
	if err != nil {
		return err
	}

	c.plugins = plugins
	return nil
}
// LoadPlugins clears the plugin cache and loads from the plugin path.
// In the event of an error during loading, the cache will be left empty.
LoadPlugins clears the plugin cache and loads from the plugin path.
In the event of an error during loading, the cache will be left empty.
// LoadPlugins clears the plugin cache and loads from the plugin path . // In the event of an error during loading the cache will be left empty .
func (c *Cache) LoadPlugins() error {
	c.plugins = nil
	plugins, err := loadPlugins(c.config.GetPluginsPath())
	if err != nil {
		return err
	}
	c.plugins = plugins
	return nil
}
func ( c * Cache ) LoadPlugins ( ) error { c . plugins = nil plugins , err := loadPlugins ( c . config . GetPluginsPath ( ) ) if err != nil { return err } c . plugins = plugins return nil }
LoadPlugins clears the plugin cache and loads from the plugin path.
LoadPlugins clears the plugin cache and loads from the plugin path .