FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
nodegit/example/raw-oid.js at v0.0.72 · 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
/
example
/
raw-oid.js
Copy path
More file actions
More file actions
Latest commit
History
History
History
9 lines (7 loc) · 275 Bytes
Breadcrumbs
nodegit
/
example
/
raw-oid.js
Copy path
File metadata and controls
9 lines (7 loc) · 275 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
var
git
=
require
(
'../'
)
.
raw
;
var
oid
=
new
git
.
Oid
(
)
;
oid
.
mkstr
(
'1810DFF58D8A660512D4832E740F692884338CCD'
)
;
console
.
log
(
oid
.
toString
(
40
)
)
;
//// Test formatting
//console.log( oid.mkstr('5f2aa9407f7b3aeb531c621c3358953841ccfc98') );
//console.log( oid.toString(40) );
Back
|
FazBrowse Home
|
New Git URL