Search
Preparing search index...
The search index is not available
DefinitelyTyped
Inherited
Private
Externals
Only exported
git
Repository
Class Repository
Index
Constructor methods
constructor
Properties
already_searched
git_directory
loose
options
packs
Methods
cat_file
cat_file_size
cat_file_type
files_changed
get_object_by_sha1
get_raw_tree
get_raw_trees
get_subtree
in_loose
in_packs
init
list_tree
ls_tree
ls_tree_path
object_exists
put_raw_object
quick_diff
rev_list
Constructor methods
constructor
(
gitDirectory
:
any
, options
?:
any
)
:
Repository
Parameters
gitDirectory:
any
options?:
any
optional
Returns
Repository
Properties
public
already_searched
:
any
public
git_directory
:
any
public
loose
:
any
public
options
:
any
public
packs
:
any
Methods
public
cat_file
(
sha
:
any
)
:
any
Parameters
sha:
any
Returns
any
public
cat_file_size
(
sha
:
any
)
:
number
Parameters
sha:
any
Returns
number
public
cat_file_type
(
sha
:
any
)
:
any
Parameters
sha:
any
Returns
any
public
files_changed
(
treeSha1
:
any
, treeSha2
:
any
, pathLimiter
:
any
)
:
boolean
Parameters
treeSha1:
any
treeSha2:
any
pathLimiter:
any
Returns
boolean
public
get_object_by_sha1
(
sha1
:
string
)
:
any
Parameters
sha1:
string
Returns
any
public
get_raw_tree
(
sha
:
any
, recursive
:
any
)
:
any
Parameters
sha:
any
recursive:
any
Returns
any
public
get_raw_trees
(
sha
:
any
, path
:
any
)
:
string
Parameters
sha:
any
path:
any
Returns
string
public
get_subtree
(
commitSha
:
any
, path
:
any
, callback
:
Function
)
Parameters
commitSha:
any
path:
any
callback:
Function
public
in_loose
(
shaHex
:
any
, callback
:
Function
)
Parameters
shaHex:
any
callback:
Function
public
in_packs
(
shaHex
:
any
, callback
:
Function
)
Parameters
shaHex:
any
callback:
Function
public
static
init
(
dir
:
any
, bare
:
any
, callback
:
Function
)
Parameters
dir:
any
bare:
any
callback:
Function
public
list_tree
(
sha
:
any
)
:
any
Parameters
sha:
any
Returns
any
public
ls_tree
(
sha
:
any
, paths
:
any
, recursive
:
any
)
:
any
Parameters
sha:
any
paths:
any
recursive:
any
Returns
any
public
ls_tree_path
(
sha
:
any
, path
:
any
, append
:
any
)
:
any
Parameters
sha:
any
path:
any
append:
any
Returns
any
public
object_exists
(
sha1
:
any
, callback
:
Function
)
Parameters
sha1:
any
callback:
Function
public
put_raw_object
(
content
:
any
, type
:
any
, callback
:
Function
)
:
any
Parameters
content:
any
type:
any
callback:
Function
Returns
any
public
quick_diff
(
tree1
:
any
, tree2
:
any
, path
:
any
, recurse
:
any
)
:
Array<any>
Parameters
tree1:
any
tree2:
any
path:
any
recurse:
any
Returns
Array<any>
public
rev_list
(
sha
:
any
, options
:
any
, callback
:
Function
)
Parameters
sha:
any
options:
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
Repository
constructor
already_searched
git_directory
loose
options
packs
cat_file
cat_file_size
cat_file_type
files_changed
get_object_by_sha1
get_raw_tree
get_raw_trees
get_subtree
in_loose
in_packs
init
list_tree
ls_tree
ls_tree_path
object_exists
put_raw_object
quick_diff
rev_list
Status
StatusFile
Submodule
Tag
Tree
UserInfo