FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
nodegit.nodegit/lib/status.js at master · javascript-forks/nodegit.nodegit · GitHub
javascript-forks
nodegit.nodegit
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
nodegit.nodegit
/
lib
/
status.js
Copy path
More file actions
More file actions
Latest commit
History
History
History
17 lines (14 loc) · 549 Bytes
Breadcrumbs
nodegit.nodegit
/
lib
/
status.js
Copy path
File metadata and controls
17 lines (14 loc) · 549 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
var
NodeGit
=
require
(
"../"
)
;
var
normalizeOptions
=
NodeGit
.
Utils
.
normalizeOptions
;
var
Status
=
NodeGit
.
Status
;
// Override Status.foreach to eliminate the need to pass null payload
var
foreach
=
Status
.
foreach
;
Status
.
foreach
=
function
(
repo
,
callback
)
{
return
foreach
(
repo
,
callback
,
null
)
;
}
;
// Override Status.foreachExt to normalize opts
var
foreachExt
=
Status
.
foreachExt
;
Status
.
foreachExt
=
function
(
repo
,
opts
,
callback
)
{
opts
=
normalizeOptions
(
opts
,
NodeGit
.
StatusOptions
)
;
return
foreachExt
(
repo
,
opts
,
callback
,
null
)
;
}
;
Back
|
FazBrowse Home
|
New Git URL