csc.SystemVariables¶
- class csc.SystemVariables¶
Contains static methods related to system variables of Cascadeur.
1import csc 2print(csc.SystemVariables.git_sha()) 3print(csc.SystemVariables.git_date()) 4print(csc.SystemVariables.git_count()) 5print(csc.SystemVariables.git_version())
- __init__(*args, **kwargs)¶
Methods
__init__(*args, **kwargs)Returns the git count of the current repository.
git_date()Returns the git date of the current repository.
git_sha()Returns the git SHA hash of the current repository.
Returns the git version of the current repository.
- __annotations__ = {}¶
- __init__(*args, **kwargs)¶
- __module__ = 'csc'¶
- static git_count() str¶
Returns the git count of the current repository.
- Returns:
The git count of the current repository.
- Return type:
- static git_date() str¶
Returns the git date of the current repository.
- Returns:
The git date of the current repository.
- Return type: