MCPcopy Create free account
hub / github.com/chainreactors/EvilProxy / SyncWithReport

Function SyncWithReport

internal/homeplugins/sync.go:118–120  ·  view source on GitHub ↗
(ctx context.Context, cfg *config.Config, pluginRuntime PluginRuntime)

Source from the content-addressed store, hash-verified

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

Callers 2

mainFunction · 0.92
syncHomePluginsMethod · 0.92

Calls 2

SyncPlatformWithReportFunction · 0.85
CurrentPlatformFunction · 0.85

Tested by

no test coverage detected