MCPcopy
hub / github.com/aheckmann/gm / cb

Function cb

lib/command.js:331–340  ·  view source on GitHub ↗
(err, stdout, stderr, cmd)

Source from the content-addressed store, hash-verified

329 return self;
330
331 function cb (err, stdout, stderr, cmd) {
332 if (cb.called) return;
333 if (timeoutId) clearTimeout(timeoutId);
334 cb.called = 1;
335 if (args[0] !== 'identify' && bin !== 'identify') {
336 self._in = [];
337 self._out = [];
338 }
339 callback.call(self, err, stdout, stderr, cmd);
340 }
341
342 function dispose (msg) {
343 const message = msg ? msg : 'gm() was disposed';

Callers 7

compareFunction · 0.85
command.jsFile · 0.85
disposeFunction · 0.85
sizeFunction · 0.85
sizeFunction · 0.85
resizeExactFunction · 0.85
sizeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected