Class: WorkspaceGit
Local git state for a workspace.
Extends
BaseClient
Constructors
Constructor
new WorkspaceGit(
ctx?,_id?):WorkspaceGit
Constructor is used for internal usage only, do not create object from it.
Parameters
ctx?
Context
_id?
Returns
WorkspaceGit
Overrides
BaseClient.constructor
Methods
head()
head():
GitRef
The checked-out HEAD of this workspace.
Returns
id()
id():
Promise<ID>
A unique identifier for this WorkspaceGit.
Returns
Promise<ID>
uncommitted()
uncommitted():
Changeset
Uncommitted changes in this workspace, using the same rules as GitRepository.uncommitted.