Search
Preparing search index...
The search index is not available
DefinitelyTyped
Inherited
Private
Externals
Only exported
git
Repo
Class Repo
Index
Constructor methods
constructor
Properties
bare
config_object
git
options
path
working_directory
Methods
add
alternates
blame
blob
commit
commit_all
commit_count
commit_deltas_from
commit_diff
commit_index
commit_stats
commits
config
description
diff
fork_bare
get_head
head
heads
index
init_bare
is_head
log
refs
remove
set_alternates
status
tags
tree
update_ref
Constructor methods
constructor
(
path
:
string
, callback
:
(err: any, repo: "git".Repo) => void
)
:
Repo
Parameters
path:
string
callback:
(err: any, repo: "git".Repo) => void
Returns
Repo
constructor
(
path
:
string
, options
:
any
, callback
:
(err: any, repo: "git".Repo) => void
)
:
Repo
Parameters
path:
string
options:
any
callback:
(err: any, repo: "git".Repo) => void
Returns
Repo
Properties
public
bare
:
any
public
config_object
:
any
public
git
:
any
public
options
:
any
public
path
:
string
public
working_directory
:
any
Methods
public
add
(
files
:
any
, callback
:
Function
)
Parameters
files:
any
callback:
Function
public
alternates
(
callback
:
Function
)
Parameters
callback:
Function
public
blame
(
file
:
string
, commit
:
string
, callback
:
(err: any, blame: "git".Blame) => void
)
Parameters
file:
string
commit:
string
callback:
(err: any, blame: "git".Blame) => void
public
blob
(
id
:
string
, callback
:
Function
)
Parameters
id:
string
callback:
Function
public
commit
(
id
:
string
, callback
:
Function
)
Parameters
id:
string
callback:
Function
public
commit_all
(
message
:
any
, callback
:
Function
)
Parameters
message:
any
callback:
Function
public
commit_count
(
start
:
any
, callback
:
Function
)
Parameters
start:
any
callback:
Function
public
commit_deltas_from
(
otherRepo
:
any
, callback
:
Function
)
Parameters
otherRepo:
any
callback:
Function
public
commit_deltas_from
(
otherRepo
:
any
, reference
:
any
, callback
:
Function
)
Parameters
otherRepo:
any
reference:
any
callback:
Function
public
commit_deltas_from
(
otherRepo
:
any
, reference
:
any
, otherReference
:
any
, callback
:
Function
)
Parameters
otherRepo:
any
reference:
any
otherReference:
any
callback:
Function
public
commit_diff
(
commit
:
string
, callback
:
Function
)
Parameters
commit:
string
callback:
Function
public
commit_index
(
message
:
any
, callback
:
Function
)
Parameters
message:
any
callback:
Function
public
commit_stats
(
callback
:
Function
)
Parameters
callback:
Function
public
commit_stats
(
start
:
any
, callback
:
Function
)
Parameters
start:
any
callback:
Function
public
commit_stats
(
start
:
any
, maxCount
:
any
, callback
:
Function
)
Parameters
start:
any
maxCount:
any
callback:
Function
public
commit_stats
(
start
:
any
, maxCount
:
any
, skip
:
any
, callback
:
Function
)
Parameters
start:
any
maxCount:
any
skip:
any
callback:
Function
public
commits
(
callback
:
Function
)
Parameters
callback:
Function
public
commits
(
start
:
string
, callback
:
Function
)
Parameters
start:
string
callback:
Function
public
commits
(
start
:
string
, maxCount
:
number
, callback
:
Function
)
Parameters
start:
string
maxCount:
number
callback:
Function
public
commits
(
start
:
string
, maxCount
:
number
, skip
:
any
, callback
:
Function
)
Parameters
start:
string
maxCount:
number
skip:
any
callback:
Function
public
config
(
callback
:
Function
)
Parameters
callback:
Function
public
description
(
callback
:
Function
)
Parameters
callback:
Function
public
diff
(
a
:
string
, callback
:
(error: any, patch: string) => void
)
Parameters
a:
string
callback:
(error: any, patch: string) => void
public
diff
(
a
:
string
, b
:
string
, callback
:
(error: any, patch: string) => void
)
Parameters
a:
string
b:
string
callback:
(error: any, patch: string) => void
public
diff
(
a
:
string
, b
:
string
, paths
:
any
, callback
:
(error: any, patch: string) => void
)
Parameters
a:
string
b:
string
paths:
any
callback:
(error: any, patch: string) => void
public
fork_bare
(
path
:
any
, callback
:
Function
)
Parameters
path:
any
callback:
Function
public
fork_bare
(
path
:
any
, options
:
any
, callback
:
Function
)
Parameters
path:
any
options:
any
callback:
Function
public
get_head
(
headName
:
any
, callback
:
Function
)
Parameters
headName:
any
callback:
Function
public
head
(
callback
:
(err: any, head: "git".Head) => void
)
Parameters
callback:
(err: any, head: "git".Head) => void
public
heads
(
callback
:
(err: any, heads: "git".Head[]) => void
)
Parameters
callback:
(err: any, heads: "git".Head[]) => void
public
index
(
callback
:
Function
)
Parameters
callback:
Function
public
init_bare
(
path
:
any
, gitOptions
:
any
, repoOptions
:
any
, callback
:
Function
)
Parameters
path:
any
gitOptions:
any
repoOptions:
any
callback:
Function
public
is_head
(
headName
:
any
, callback
:
Function
)
Parameters
headName:
any
callback:
Function
public
log
(
callback
:
(err: any, commits: "git".Commit[]) => void
)
Parameters
callback:
(err: any, commits: "git".Commit[]) => void
public
log
(
commit
:
string
, callback
:
(err: any, commits: "git".Commit[]) => void
)
Parameters
commit:
string
callback:
(err: any, commits: "git".Commit[]) => void
public
log
(
commit
:
string
, path
:
any
, callback
:
(err: any, commits: "git".Commit[]) => void
)
Parameters
commit:
string
path:
any
callback:
(err: any, commits: "git".Commit[]) => void
public
log
(
commit
:
string
, path
:
any
, options
:
any
, callback
:
(err: any, commits: "git".Commit[]) => void
)
Parameters
commit:
string
path:
any
options:
any
callback:
(err: any, commits: "git".Commit[]) => void
public
refs
(
callback
:
Function
)
Parameters
callback:
Function
public
remove
(
files
:
any
, callback
:
Function
)
Parameters
files:
any
callback:
Function
public
set_alternates
(
alts
:
any
, callback
:
Function
)
Parameters
alts:
any
callback:
Function
public
status
(
callback
:
Function
)
Parameters
callback:
Function
public
tags
(
callback
:
Function
)
Parameters
callback:
Function
public
tree
(
callback
:
Function
)
Parameters
callback:
Function
public
tree
(
treeish
:
string
, callback
:
Function
)
Parameters
treeish:
string
callback:
Function
public
tree
(
treeish
:
string
, paths
:
any
, callback
:
Function
)
Parameters
treeish:
string
paths:
any
callback:
Function
public
update_ref
(
head
:
any
, commitSha
:
any
, callback
:
Function
)
Parameters
head:
any
commitSha:
any
callback:
Function
Globals
git
Actor
Blame
BlameLine
Blob
Commit
CommitStats
Config
Diff
FileIndex
FileWindow
Git
GitFileOperations
GitIndex
GitObject
Head
LooseStorage
Merge
PackStorage
RawObject
Ref
Remote
Repo
constructor
bare
config_object
git
options
path
working_directory
add
alternates
blame
blob
commit
commit_all
commit_count
commit_deltas_from
commit_diff
commit_index
commit_stats
commits
config
description
diff
fork_bare
get_head
head
heads
index
init_bare
is_head
log
refs
remove
set_alternates
status
tags
tree
update_ref
Repository
Status
StatusFile
Submodule
Tag
Tree
UserInfo