FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
nodegit.nodegit/lib/odb.js at fix-commit-doc · 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
/
odb.js
Copy path
More file actions
More file actions
Latest commit
History
History
History
14 lines (11 loc) · 313 Bytes
Breadcrumbs
nodegit.nodegit
/
lib
/
odb.js
Copy path
File metadata and controls
14 lines (11 loc) · 313 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
var
NodeGit
=
require
(
"../"
)
;
var
Odb
=
NodeGit
.
Odb
;
var
read
=
Odb
.
prototype
.
read
;
Odb
.
prototype
.
read
=
function
(
oid
,
callback
)
{
return
read
.
call
(
this
,
oid
)
.
then
(
function
(
odbObject
)
{
if
(
typeof
callback
===
"function"
)
{
callback
(
null
,
odbObject
)
;
}
return
odbObject
;
}
,
callback
)
;
}
;
Back
|
FazBrowse Home
|
New Git URL