HomeSoftware Heritage

Refactor and extract a get_available_slots utility

This commit no longer exists in the repository. It may have been part of a branch which was deleted.

Description

Refactor and extract a get_available_slots utility

This adds coverage as well. This will be needed for subsidiary diffs.

Related to T3367

Commit No Longer Exists

This commit no longer exists in the repository.