Information Module
Contains helper functions which can be used to retrieve status information from git.
Functions and values
Function or value | Description |
Full Usage:
Information.describe repositoryDir
Parameters:
string
-
The git repository.
Returns: string
|
|
Full Usage:
Information.getBranchName repositoryDir
Parameters:
string
-
The git repository.
Returns: string
|
|
Full Usage:
Information.getCurrentHash ()
Parameters:
unit
Returns: string
|
|
Full Usage:
Information.getCurrentSHA1 repositoryDir
Parameters:
string
-
The git repository.
Returns: string
|
|
Full Usage:
Information.getCurrentShortSHA1 repositoryDir
Parameters:
string
-
The git repository.
Returns: string
|
|
Full Usage:
Information.getLastTag ()
Parameters:
unit
Returns: string
|
|
Full Usage:
Information.getVersion repositoryDir
Parameters:
string
-
The git repository.
Returns: string
|
|
Full Usage:
Information.isAheadOf repositoryDir rev1 rev2
Parameters:
string
-
The git repository.
rev1 : string
-
The first revision to use
rev2 : string
-
The second revision to use
Returns: bool
|
|
Full Usage:
Information.isCleanWorkingCopy repositoryDir
Parameters:
string
-
The git repository.
Returns: bool
|
|
Full Usage:
Information.isGitVersionHigherOrEqual referenceVersion
Parameters:
string
-
The version to compare with
Returns: bool
|
|
Full Usage:
Information.shortlog repositoryDir
Parameters:
string
-
The git repository.
Returns: string
|
|
Full Usage:
Information.showName repositoryDir sha1
Parameters:
string
-
The git repository.
sha1 : string
-
The sha1 to use
Returns: string
|
|
Full Usage:
Information.showStatus repositoryDir
Parameters:
string
-
The git repository.
|
|