MCPcopy
hub / github.com/dthree/vantage / exec

Function exec

test/integration.js:55–62  ·  view source on GitHub ↗
(cmd, done, cb)

Source from the content-addressed store, hash-verified

53 });
54
55 var exec = function(cmd, done, cb) {
56 vantage.exec(cmd).then(function(data){
57 cb(void 0, data);
58 }).catch(function(err){
59 console.log(err);
60 done(err);
61 });
62 };
63
64 it("should accept a vantage connection with a callback", function(done) {
65 vantage

Callers 1

integration.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected