MCPcopy Create free account
hub / github.com/christkv/node-git / flatten

Function flatten

lib/git/git.js:484–488  ·  view source on GitHub ↗
(array)

Source from the content-addressed store, hash-verified

482
483// Gotten from
484var flatten = function(array) {
485 return array.reduce(function(a,b) {
486 return a.concat(b);
487 }, []);
488}
489
490Git.prototype.diff = function(commit1, commit2, options, callback) {
491 try {

Callers 1

git.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected