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

Function Sync

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

Source from the content-addressed store, hash-verified

106}
107
108func Sync(ctx context.Context, cfg *config.Config, pluginRuntime PluginRuntime) error {
109 _, errSync := SyncPlatformWithReport(ctx, cfg, pluginRuntime, CurrentPlatform())
110 return errSync
111}
112
113func SyncPlatform(ctx context.Context, cfg *config.Config, pluginRuntime PluginRuntime, platform Platform) error {
114 _, errSync := SyncPlatformWithReport(ctx, cfg, pluginRuntime, platform)

Callers

nothing calls this directly

Calls 2

SyncPlatformWithReportFunction · 0.85
CurrentPlatformFunction · 0.85

Tested by

no test coverage detected