FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
nodegit/lib/threads.js at master · philschatz/nodegit · GitHub
philschatz
nodegit
Repository navigation
Code
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
nodegit
/
lib
/
threads.js
Copy path
More file actions
More file actions
Latest commit
History
History
History
36 lines (27 loc) · 708 Bytes
Breadcrumbs
nodegit
/
lib
/
threads.js
Copy path
File metadata and controls
36 lines (27 loc) · 708 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
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
var
git
=
require
(
'../'
)
;
var
_Blob
=
function
(
obj
)
{
var
self
=
{
}
;
if
(
obj
instanceof
git
.
raw
.
Repo
)
{
self
.
repo
=
obj
;
self
.
blob
=
new
git
.
raw
.
Blob
(
obj
)
;
}
else
if
(
obj
instanceof
git
.
raw
.
Blob
)
{
self
.
blob
=
obj
;
}
Object
.
defineProperty
(
self
,
'raw'
,
{
get
:
function
(
)
{
return
self
.
blob
.
rawContent
(
)
.
toString
(
)
;
}
,
enumerable
:
true
}
)
;
self
.
lookup
=
function
(
oid
)
{
self
.
blob
.
lookup
(
self
.
repo
,
oid
,
function
(
)
{
var
args
=
Array
.
prototype
.
slice
.
call
(
arguments
)
;
args
[
0
]
=
git
.
util
(
)
.
error
(
args
[
0
]
)
;
callback
.
apply
(
self
,
args
.
concat
(
self
)
)
;
}
)
;
}
;
return
self
;
}
;
exports
.
blob
=
_Blob
;
exports
=
_Threads
;
Back
|
FazBrowse Home
|
New Git URL