MCPcopy Create free account
hub / github.com/AlexErrant/Pentive / getC

Function getC

app/src/pluginManager.ts:31–38  ·  view source on GitHub ↗
(c: Container, exports: PluginExports)

Source from the content-addressed store, hash-verified

29}
30
31function getC(c: Container, exports: PluginExports): Container {
32 if (exports.services === undefined) return c
33 const rExports = exports.services(freeze(c, true))
34 return {
35 ...c,
36 ...rExports,
37 }
38}
39
40export async function registerPluginServices(plugins: Plugin[]) {
41 const seed = defaultContainer({ resizingIframe: ResizingIframe })

Callers 1

registerPluginServiceFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected