SanityChecks Module
Contains helper function which can be used for sanity checks.
Functions and values
Function or value | Description |
Full Usage:
SanityChecks.checkIfBranchExists repositoryDir branch
Parameters:
string
-
The git repository.
branch : string
-
The branch name to check
|
|
Full Usage:
SanityChecks.checkIfBranchIsAbsent repositoryDir branch
Parameters:
string
-
The git repository.
branch : string
-
The branch name to check
|
|
Full Usage:
SanityChecks.checkIsLocalBranch repositoryDir branch
Parameters:
string
-
The git repository.
branch : string
-
The branch name to check
|
|
Full Usage:
SanityChecks.checkIsRemoteBranch repositoryDir branch
Parameters:
string
-
The git repository.
branch : string
-
The branch name to check
|
|
Full Usage:
SanityChecks.checkRevisionExists repositoryDir revision1
Parameters:
string
-
The git repository.
revision1 : string
-
The revision to check for.
|
|