MCPcopy
hub / github.com/acode/cli / end

Method end

cli/local_gateway.js:80–88  ·  view source on GitHub ↗
(req, value)

Source from the content-addressed store, hash-verified

78 }
79
80 end (req, value) {
81 value = value === undefined ? null : value;
82 value = value + '';
83 if (value.length > this._maxResultLogLength) {
84 value = value.substr(0, this._maxResultLogLength) +
85 ` ... (truncated ${value.length - this._maxResultLogLength} bytes)`;
86 }
87 this.log(req, value.replace(/\u0007/gi, ''), 'result');
88 }
89
90}
91

Callers 5

responseFunction · 0.80
parser.jsFile · 0.80
requestMethod · 0.80
fileio.jsFile · 0.80
runMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected