MCPcopy
hub / github.com/CaviraOSS/OpenMemory / use

Function use

backend/src/server/server.js:114–114  ·  view source on GitHub ↗
(a)

Source from the content-addressed store, hash-verified

112 };
113 const add = (a, b, c) => { ROUTES.push({ method: a.toUpperCase(), path: b, handler: c }); };
114 const use = (a) => { WARES.push(a); };
115 const listen = (a, b) => { SERVER.setTimeout(10000); SERVER.listen(a, b); };
116 const all = (a, b) => { add('ALL', a, b); };
117 const getRoutes = () => ROUTES.reduce((acc, { method, path }) => ((acc[method] = acc[method] || []).push(path), acc), {});

Callers 1

serverFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected