FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
nodegit/lib/index.js at emscripten · nodegit/nodegit · GitHub
nodegit
nodegit
Repository navigation
Code
Issues
344
(344)
Pull requests
21
(21)
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
nodegit
/
lib
/
index.js
Copy path
More file actions
More file actions
Latest commit
History
History
History
15 lines (14 loc) · 332 Bytes
Breadcrumbs
nodegit
/
lib
/
index.js
Copy path
File metadata and controls
15 lines (14 loc) · 332 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
var
git
=
require
(
'../'
)
,
Index
=
git
.
Index
;
/**
* Return an array of the entries in this index.
*
@return
{
[IndexEntry]
} an array of IndexEntrys
*/
Index
.
prototype
.
entries
=
function
(
)
{
var
size
=
this
.
size
(
)
,
result
=
[
]
;
for
(
var
i
=
0
;
i
<
size
;
i
++
)
{
result
.
push
(
this
.
entry
(
i
)
)
;
}
return
result
;
}
;
Back
|
FazBrowse Home
|
New Git URL