(ctx context.Context, cfg *config.Config, pluginRuntime PluginRuntime)
| 116 | } |
| 117 | |
| 118 | func SyncWithReport(ctx context.Context, cfg *config.Config, pluginRuntime PluginRuntime) (SyncReport, error) { |
| 119 | return SyncPlatformWithReport(ctx, cfg, pluginRuntime, CurrentPlatform()) |
| 120 | } |
| 121 | |
| 122 | func SyncPlatformWithReport(ctx context.Context, cfg *config.Config, pluginRuntime PluginRuntime, platform Platform) (SyncReport, error) { |
| 123 | if cfg == nil || !cfg.Home.Enabled || !cfg.Plugins.Enabled { |
no test coverage detected