MCPcopy Create free account
hub / github.com/couchbase/sync_gateway / wrappedFuncSource

Function wrappedFuncSource

channels/sync_runner.go:276–285  ·  view source on GitHub ↗
(funcSource string)

Source from the content-addressed store, hash-verified

274}
275
276func wrappedFuncSource(funcSource string) string {
277 return fmt.Sprintf(
278 funcWrapper,
279 funcSource,
280 base.SyncFnErrorAdminRequired,
281 base.SyncFnErrorWrongUser,
282 base.SyncFnErrorMissingRole,
283 base.SyncFnErrorMissingChannelAccess,
284 )
285}

Callers 2

NewSyncRunnerWithLoggingFunction · 0.85
SetFunctionMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected