Learn more about cloning repositories
You have read-only access
refactor the diagAvailability() static function to be a member of the only class that uses it, simplify code a bit. NFC.