MCPcopy Index your code
hub / github.com/restify/node-restify / handlersToString

Function handlersToString

lib/server.js:906–917  ·  view source on GitHub ↗
(arr)

Source from the content-addressed store, hash-verified

904 var str = '';
905
906 function handlersToString(arr) {
907 var s =
908 '[' +
909 arr
910 .map(function map(b) {
911 return b.name || 'function';
912 })
913 .join(', ') +
914 ']';
915
916 return s;
917 }
918
919 str += sprintf(LINE_FMT, 'Accepts', this.acceptable.join(', '));
920 str += sprintf(LINE_FMT, 'Name', this.name);

Callers 1

server.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected