MCPcopy Index your code
hub / github.com/nodegit/nodegit / createCallbackWrapper

Function createCallbackWrapper

lib/repository.js:1002–1009  ·  view source on GitHub ↗
(fn, remote)

Source from the content-addressed store, hash-verified

1000 var repo = this;
1001
1002 function createCallbackWrapper(fn, remote) {
1003 return function() {
1004 var args = Array.prototype.slice.call(arguments);
1005 args.push(remote);
1006
1007 return fn.apply(this, args);
1008 }.bind(this);
1009 }
1010
1011 fetchOptions = fetchOptions || {};
1012

Callers 1

repository.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…