Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
484
var
flatten =
function
(array) {
485
return
array.reduce(
function
(a,b) {
486
return
a.concat(b);
487
}, []);
488
}
489
490
Git.prototype.diff =
function
(commit1, commit2, options, callback) {
491
try {
Callers
1
git.js
File · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected