MCPcopy
hub / github.com/apache/devlake / NewChildRemoteContext

Function NewChildRemoteContext

backend/server/services/remote/bridge/context.go:88–94  ·  view source on GitHub ↗
(ec plugin.ExecContext)

Source from the content-addressed store, hash-verified

86}
87
88func NewChildRemoteContext(ec plugin.ExecContext) RemoteContext {
89 return &remoteContextImpl{
90 parent: ec,
91 logger: ec.GetLogger(),
92 ctx: ec.GetContext(),
93 }
94}
95
96func (r remoteContextImpl) GetConfig(name string) string {
97 return config.GetConfig().GetString(name)

Callers 1

Calls 2

GetLoggerMethod · 0.65
GetContextMethod · 0.65

Tested by

no test coverage detected