Search
Preparing search index...
The search index is not available
Theia TypeDoc
Options
All
Public
Public/Protected
All
Inherited
Menu
Theia TypeDoc
git
DugiteGit
Class DugiteGit
dugite-extra
based Git implementation.
Hierarchy
DugiteGit
Implements
Git
Index
Constructors
constructor
Properties
blame
Parser
commit
Details
Parser
env
Provider
exec
Provider
git
Env
git
Init
limit
locator
logger
manager
name
Status
Parser
ready
Methods
add
blame
branch
checkout
clone
commit
diff
dispose
exec
fail
fetch
get
Commitish
get
Current
Branch
get
Default
Remote
get
Fs
Path
get
Remotes
get
Reset
Mode
get
Uri
init
is
Nested
Git
Repository
log
ls
Files
map
Ahead
Behind
map
Branch
map
Commit
Identity
map
File
Change
map
File
Changes
map
File
Status
map
Range
map
Status
map
Tip
merge
pull
push
remote
repositories
reset
resolve
Containing
Path
rev
Parse
show
stash
status
unstage
Constructors
constructor
new
Dugite
Git
(
)
:
DugiteGit
Returns
DugiteGit
Properties
Protected
Readonly
blame
Parser
blame
Parser
:
GitBlameParser
Protected
Readonly
commit
Details
Parser
commit
Details
Parser
:
CommitDetailsParser
Protected
Readonly
env
Provider
env
Provider
:
GitEnvProvider
Protected
Readonly
exec
Provider
exec
Provider
:
GitExecProvider
Protected
git
Env
git
Env
:
Deferred
<
Object
>
= ...
Protected
Readonly
git
Init
git
Init
:
GitInit
Protected
Readonly
limit
limit
:
1000
= 1000
Protected
Readonly
locator
locator
:
GitLocator
Protected
Readonly
logger
logger
:
ILogger
Protected
Readonly
manager
manager
:
GitRepositoryManager
Protected
Readonly
name
Status
Parser
name
Status
Parser
:
NameStatusParser
Protected
ready
ready
:
Deferred
<
void
>
= ...
Methods
add
add
(
repository
:
Repository
, uri
:
string
|
string
[]
)
:
Promise
<
void
>
Parameters
repository:
Repository
uri:
string
|
string
[]
Returns
Promise
<
void
>
blame
blame
(
repository
:
Repository
, uri
:
string
, options
?:
Blame
)
:
Promise
<
undefined
|
GitFileBlame
>
Parameters
repository:
Repository
uri:
string
Optional
options:
Blame
Returns
Promise
<
undefined
|
GitFileBlame
>
branch
branch
(
repository
:
Repository
, options
:
{
type
:
"current"
}
)
:
Promise
<
undefined
|
Branch
>
branch
(
repository
:
Repository
, options
:
{
type
:
"local"
|
"remote"
|
"all"
}
)
:
Promise
<
Branch
[]
>
branch
(
repository
:
Repository
, options
:
Create
|
Rename
|
Delete
)
:
Promise
<
void
>
Parameters
repository:
Repository
options:
{
type
:
"current"
}
type
:
"current"
Returns
Promise
<
undefined
|
Branch
>
Parameters
repository:
Repository
options:
{
type
:
"local"
|
"remote"
|
"all"
}
type
:
"local"
|
"remote"
|
"all"
Returns
Promise
<
Branch
[]
>
Parameters
repository:
Repository
options:
Create
|
Rename
|
Delete
Returns
Promise
<
void
>
checkout
checkout
(
repository
:
Repository
, options
:
CheckoutBranch
|
WorkingTreeFile
)
:
Promise
<
void
>
Parameters
repository:
Repository
options:
CheckoutBranch
|
WorkingTreeFile
Returns
Promise
<
void
>
clone
clone
(
remoteUrl
:
string
, options
:
Clone
)
:
Promise
<
Repository
>
Parameters
remoteUrl:
string
options:
Clone
Returns
Promise
<
Repository
>
commit
commit
(
repository
:
Repository
, message
?:
string
, options
?:
Git
.
Options
.
Commit
)
:
Promise
<
void
>
Parameters
repository:
Repository
Optional
message:
string
Optional
options:
Git
.
Options
.
Commit
Returns
Promise
<
void
>
diff
diff
(
repository
:
Repository
, options
?:
Diff
)
:
Promise
<
GitFileChange
[]
>
Parameters
repository:
Repository
Optional
options:
Diff
Returns
Promise
<
GitFileChange
[]
>
dispose
dispose
(
)
:
void
Returns
void
exec
exec
(
repository
:
Repository
, args
:
string
[]
, options
?:
Execution
)
:
Promise
<
GitResult
>
Parameters
repository:
Repository
args:
string
[]
Optional
options:
Execution
Returns
Promise
<
GitResult
>
Private
fail
fail
(
repository
:
string
|
Repository
, message
?:
string
)
:
never
Parameters
repository:
string
|
Repository
Optional
message:
string
Returns
never
fetch
fetch
(
repository
:
Repository
, options
?:
Fetch
)
:
Promise
<
void
>
Parameters
repository:
Repository
Optional
options:
Fetch
Returns
Promise
<
void
>
Private
get
Commitish
get
Commitish
(
options
?:
Show
)
:
string
Parameters
Optional
options:
Show
Returns
string
Private
get
Current
Branch
get
Current
Branch
(
repositoryPath
:
string
, localBranch
?:
string
)
:
Promise
<
string
|
Branch
>
Parameters
repositoryPath:
string
Optional
localBranch:
string
Returns
Promise
<
string
|
Branch
>
Private
get
Default
Remote
get
Default
Remote
(
repositoryPath
:
string
, remote
?:
string
)
:
Promise
<
undefined
|
string
>
Parameters
repositoryPath:
string
Optional
remote:
string
Returns
Promise
<
undefined
|
string
>
Private
get
Fs
Path
get
Fs
Path
(
repository
:
string
|
Repository
)
:
string
Parameters
repository:
string
|
Repository
Returns
string
Private
get
Remotes
get
Remotes
(
repositoryPath
:
string
)
:
Promise
<
Remote
[]
>
Parameters
repositoryPath:
string
Returns
Promise
<
Remote
[]
>
Private
get
Reset
Mode
get
Reset
Mode
(
mode
:
"mixed"
|
"hard"
|
"soft"
)
:
GitResetMode
Parameters
mode:
"mixed"
|
"hard"
|
"soft"
Returns
GitResetMode
Private
get
Uri
get
Uri
(
path
:
string
)
:
string
Parameters
path:
string
Returns
string
Protected
init
init
(
)
:
void
Returns
void
Private
is
Nested
Git
Repository
is
Nested
Git
Repository
(
fileChange
:
FileChange
)
:
boolean
Parameters
fileChange:
FileChange
Returns
boolean
log
log
(
repository
:
Repository
, options
?:
Git
.
Options
.
Log
)
:
Promise
<
CommitWithChanges
[]
>
Parameters
repository:
Repository
Optional
options:
Git
.
Options
.
Log
Returns
Promise
<
CommitWithChanges
[]
>
ls
Files
ls
Files
(
repository
:
Repository
, uri
:
string
, options
?:
LsFiles
)
:
Promise
<
any
>
Parameters
repository:
Repository
uri:
string
Optional
options:
LsFiles
Returns
Promise
<
any
>
Private
map
Ahead
Behind
map
Ahead
Behind
(
toMap
:
undefined
|
IAheadBehind
)
:
Promise
<
undefined
|
{
ahead
:
number
;
behind
:
number
}
>
Parameters
toMap:
undefined
|
IAheadBehind
Returns
Promise
<
undefined
|
{
ahead
:
number
;
behind
:
number
}
>
Private
map
Branch
map
Branch
(
toMap
:
Branch
)
:
Promise
<
Branch
>
Parameters
toMap:
Branch
Returns
Promise
<
Branch
>
Private
map
Commit
Identity
map
Commit
Identity
(
toMap
:
CommitIdentity
)
:
Promise
<
CommitIdentity
>
Parameters
toMap:
CommitIdentity
Returns
Promise
<
CommitIdentity
>
Private
map
File
Change
map
File
Change
(
toMap
:
FileChange
, repositoryPath
:
string
)
:
Promise
<
GitFileChange
>
Parameters
toMap:
FileChange
repositoryPath:
string
Returns
Promise
<
GitFileChange
>
Private
map
File
Changes
map
File
Changes
(
toMap
:
WorkingDirectoryStatus
, repositoryPath
:
string
)
:
Promise
<
GitFileChange
[]
>
Parameters
toMap:
WorkingDirectoryStatus
repositoryPath:
string
Returns
Promise
<
GitFileChange
[]
>
Private
map
File
Status
map
File
Status
(
toMap
:
AppFileStatus
)
:
GitFileStatus
Parameters
toMap:
AppFileStatus
Returns
GitFileStatus
Private
map
Range
map
Range
(
toMap
:
undefined
|
Git
.
Options
.
Range
)
:
string
Parameters
toMap:
undefined
|
Git
.
Options
.
Range
Returns
string
Private
map
Status
map
Status
(
toMap
:
IStatusResult
, repository
:
Repository
)
:
Promise
<
WorkingDirectoryStatus
>
Parameters
toMap:
IStatusResult
repository:
Repository
Returns
Promise
<
WorkingDirectoryStatus
>
Private
map
Tip
map
Tip
(
toMap
:
Commit
)
:
Promise
<
Commit
>
Parameters
toMap:
Commit
Returns
Promise
<
Commit
>
merge
merge
(
repository
:
Repository
, options
:
Merge
)
:
Promise
<
void
>
Parameters
repository:
Repository
options:
Merge
Returns
Promise
<
void
>
pull
pull
(
repository
:
Repository
, __namedParameters
?:
Pull
)
:
Promise
<
void
>
Parameters
repository:
Repository
__namedParameters:
Pull
= {}
Returns
Promise
<
void
>
push
push
(
repository
:
Repository
, __namedParameters
?:
Push
)
:
Promise
<
void
>
Parameters
repository:
Repository
__namedParameters:
Push
= {}
Returns
Promise
<
void
>
remote
remote
(
repository
:
Repository
)
:
Promise
<
string
[]
>
remote
(
repository
:
Repository
, options
:
{
verbose
:
true
}
)
:
Promise
<
Remote
[]
>
Parameters
repository:
Repository
Returns
Promise
<
string
[]
>
Parameters
repository:
Repository
options:
{
verbose
:
true
}
verbose
:
true
Returns
Promise
<
Remote
[]
>
repositories
repositories
(
workspaceRootUri
:
string
, options
:
Repositories
)
:
Promise
<
Repository
[]
>
Parameters
workspaceRootUri:
string
options:
Repositories
Returns
Promise
<
Repository
[]
>
reset
reset
(
repository
:
Repository
, options
:
Reset
)
:
Promise
<
void
>
Parameters
repository:
Repository
options:
Reset
Returns
Promise
<
void
>
Private
resolve
Containing
Path
resolve
Containing
Path
(
repositoryPath
:
string
)
:
Promise
<
undefined
|
string
>
Parameters
repositoryPath:
string
Returns
Promise
<
undefined
|
string
>
rev
Parse
rev
Parse
(
repository
:
Repository
, options
:
RevParse
)
:
Promise
<
undefined
|
string
>
Parameters
repository:
Repository
options:
RevParse
Returns
Promise
<
undefined
|
string
>
show
show
(
repository
:
Repository
, uri
:
string
, options
?:
Show
)
:
Promise
<
string
>
Parameters
repository:
Repository
uri:
string
Optional
options:
Show
Returns
Promise
<
string
>
stash
stash
(
repository
:
Repository
, options
?:
Readonly
<
{
action
?:
"push"
;
message
?:
string
}
>
)
:
Promise
<
void
>
stash
(
repository
:
Repository
, options
:
Readonly
<
{
action
:
"list"
}
>
)
:
Promise
<
StashEntry
[]
>
stash
(
repository
:
Repository
, options
:
Readonly
<
{
action
:
"clear"
}
>
)
:
Promise
<
void
>
stash
(
repository
:
Repository
, options
:
Readonly
<
{
action
:
"pop"
|
"apply"
|
"drop"
;
id
?:
string
}
>
)
:
Promise
<
void
>
Parameters
repository:
Repository
Optional
options:
Readonly
<
{
action
?:
"push"
;
message
?:
string
}
>
Returns
Promise
<
void
>
Parameters
repository:
Repository
options:
Readonly
<
{
action
:
"list"
}
>
Returns
Promise
<
StashEntry
[]
>
Parameters
repository:
Repository
options:
Readonly
<
{
action
:
"clear"
}
>
Returns
Promise
<
void
>
Parameters
repository:
Repository
options:
Readonly
<
{
action
:
"pop"
|
"apply"
|
"drop"
;
id
?:
string
}
>
Returns
Promise
<
void
>
status
status
(
repository
:
Repository
)
:
Promise
<
WorkingDirectoryStatus
>
Parameters
repository:
Repository
Returns
Promise
<
WorkingDirectoryStatus
>
unstage
unstage
(
repository
:
Repository
, uri
:
string
|
string
[]
, options
?:
Unstage
)
:
Promise
<
void
>
Parameters
repository:
Repository
uri:
string
|
string
[]
Optional
options:
Unstage
Returns
Promise
<
void
>
Modules
bulk-
edit
callhierarchy
console
core
debug
editor
editor-
preview
electron
external-
terminal
file-
search
filesystem
getting-
started
git
Blame
Annotations
Keybinding
Context
Blame
Commands
Blame
Decorator
Dirty
Diff
Model
GIT_
COMMANDS
GIT_
MENUS
Git
Git
Binding
Options
Git
Blame
Parser
Git
Commit
Detail
Uri
Git
Commit
Message
Validator
Git
Diff
Commands
Git
Diff
Tree
Model
Git
File
Status
Git
Prompt
Git
Scm
Provider
Git
Scm
Repository
Git
Status
Change
Event
Git
Sync
Service
Git
Utils
Repository
Scm
Navigator
More
Toolbar
Groups
Working
Directory
Status
keymaps
markers
memory-
inspector
messages
metrics
mini-
browser
monaco
navigator
outline-
view
output
plugin
plugin-
dev
plugin-
ext
plugin-
ext-
vscode
plugin-
metrics
preferences
preview
process
property-
view
scm
scm-
extra
search-
in-
workspace
secondary-
window
task
terminal
timeline
toolbar
typehierarchy
userstorage
variable-
resolver
vsx-
registry
workspace
Dugite
Git
constructor
blame
Parser
commit
Details
Parser
env
Provider
exec
Provider
git
Env
git
Init
limit
locator
logger
manager
name
Status
Parser
ready
add
blame
branch
checkout
clone
commit
diff
dispose
exec
fail
fetch
get
Commitish
get
Current
Branch
get
Default
Remote
get
Fs
Path
get
Remotes
get
Reset
Mode
get
Uri
init
is
Nested
Git
Repository
log
ls
Files
map
Ahead
Behind
map
Branch
map
Commit
Identity
map
File
Change
map
File
Changes
map
File
Status
map
Range
map
Status
map
Tip
merge
pull
push
remote
repositories
reset
resolve
Containing
Path
rev
Parse
show
stash
status
unstage
dugite-extra
based Git implementation.