MCPcopy
hub / github.com/chartbrew/chartbrew / register

Function register

server/tests/integration/templateRoute.security.test.js:18–20  ·  view source on GitHub ↗
(method, path, handlers)

Source from the content-addressed store, hash-verified

16 const routes = new Map();
17
18 const register = (method, path, handlers) => {
19 routes.set(`${method} ${path}`, handlers);
20 };
21
22 return {
23 app: {

Callers 4

getFunction · 0.85
postFunction · 0.85
putFunction · 0.85
deleteFunction · 0.85

Calls 1

setMethod · 0.45

Tested by

no test coverage detected