iblrig.version_management.is_dirty

iblrig.version_management.is_dirty()[source]

Check if the Git working directory is dirty (has uncommitted changes).

Uses ‘git diff –quiet’ to determine if there are uncommitted changes in the Git repository.

Returns:

bool – False if the directory is clean (no uncommitted changes).

Return type:

True if the directory is dirty (has uncommitted changes) or an error occurs during execution,