iblrig.version_management.get_commit_hash

iblrig.version_management.get_commit_hash(short=True)[source]

Get the hash of the currently checked out commit of the iblrig installation.

Parameters:

short (bool, optional) – Whether to return the short hash of the commit hash. Default is True.

Returns:

Hash of the currently checked out commit, or None if it cannot be determined.

Return type:

str or None

Parameters:

short (bool)