Search
Preparing search index...
The search index is not available
DefinitelyTyped
Inherited
Private
Externals
Only exported
git
GitIndex
Class GitIndex
Index
Constructor methods
constructor
Properties
current_tree
repo
tree
Methods
add
commit
read_tree
write_blob
write_tree
Constructor methods
constructor
(
repo
:
any
)
:
GitIndex
Parameters
repo:
any
Returns
GitIndex
Properties
public
current_tree
:
any
public
repo
:
any
public
tree
:
any
Methods
public
add
(
filePath
:
any
, data
:
any
)
Parameters
filePath:
any
data:
any
public
commit
(
message
:
any
, callback
:
Function
)
Parameters
message:
any
callback:
Function
public
commit
(
message
:
any
, parents
:
any
, callback
:
Function
)
Parameters
message:
any
parents:
any
callback:
Function
public
commit
(
message
:
any
, parents
:
any
, actor
:
any
, callback
:
Function
)
Parameters
message:
any
parents:
any
actor:
any
callback:
Function
public
commit
(
message
:
any
, parents
:
any
, actor
:
any
, lastTree
:
any
, callback
:
Function
)
Parameters
message:
any
parents:
any
actor:
any
lastTree:
any
callback:
Function
public
read_tree
(
tree
:
any
, callback
:
Function
)
Parameters
tree:
any
callback:
Function
public
write_blob
(
data
:
any
)
:
any
Parameters
data:
any
Returns
any
public
write_tree
(
tree
:
any
, callback
:
Function
)
:
any
Parameters
tree:
any
callback:
Function
Returns
any
public
write_tree
(
tree
:
any
, nowTree
:
any
, callback
:
Function
)
:
any
Parameters
tree:
any
nowTree:
any
callback:
Function
Returns
any
Globals
git
Actor
Blame
BlameLine
Blob
Commit
CommitStats
Config
Diff
FileIndex
FileWindow
Git
GitFileOperations
GitIndex
constructor
current_tree
repo
tree
add
commit
read_tree
write_blob
write_tree
GitObject
Head
LooseStorage
Merge
PackStorage
RawObject
Ref
Remote
Repo
Repository
Status
StatusFile
Submodule
Tag
Tree
UserInfo