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

Function all

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

Source from the content-addressed store, hash-verified

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), {});
118 const serverStatic = (endpoint, dir) => {
119 const a = path.resolve(dir);

Callers

nothing calls this directly

Calls 1

addFunction · 0.85

Tested by

no test coverage detected