FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
nodegit.nodegit/lib/reset.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
/
reset.js
Copy path
More file actions
More file actions
Latest commit
History
History
History
18 lines (13 loc) · 529 Bytes
Breadcrumbs
nodegit.nodegit
/
lib
/
reset.js
Copy path
File metadata and controls
18 lines (13 loc) · 529 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
var
NodeGit
=
require
(
"../"
)
;
var
normalizeOptions
=
NodeGit
.
Utils
.
normalizeOptions
;
var
Reset
=
NodeGit
.
Reset
;
var
defaultFn
=
Reset
.
default
;
Reset
.
default
=
function
(
repo
,
target
,
pathspecs
)
{
return
defaultFn
.
call
(
this
,
repo
,
target
,
pathspecs
)
;
}
;
var
reset
=
Reset
.
reset
;
Reset
.
reset
=
function
(
repo
,
target
,
resetType
,
opts
,
signature
,
logMessage
)
{
opts
=
normalizeOptions
(
opts
,
NodeGit
.
CheckoutOptions
)
;
return
reset
.
call
(
this
,
repo
,
target
,
resetType
,
opts
,
signature
,
logMessage
)
;
}
;
module
.
exports
=
Reset
;
Back
|
FazBrowse Home
|
New Git URL