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

Function SyncPlatform

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

Source from the content-addressed store, hash-verified

111}
112
113func SyncPlatform(ctx context.Context, cfg *config.Config, pluginRuntime PluginRuntime, platform Platform) error {
114 _, errSync := SyncPlatformWithReport(ctx, cfg, pluginRuntime, platform)
115 return errSync
116}
117
118func SyncWithReport(ctx context.Context, cfg *config.Config, pluginRuntime PluginRuntime) (SyncReport, error) {
119 return SyncPlatformWithReport(ctx, cfg, pluginRuntime, CurrentPlatform())

Calls 1

SyncPlatformWithReportFunction · 0.85