Check unity build structure integrity. Convenience function that combines scan and check phases. Returns: CheckResult with success flag and list of violations
()
| 1158 | |
| 1159 | |
| 1160 | def check() -> CheckResult: |
| 1161 | """ |
| 1162 | Check unity build structure integrity. |
| 1163 | |
| 1164 | Convenience function that combines scan and check phases. |
| 1165 | |
| 1166 | Returns: |
| 1167 | CheckResult with success flag and list of violations |
| 1168 | """ |
| 1169 | data = scan() |
| 1170 | if data is None: |
| 1171 | return CheckResult(success=True, violations=[]) |
| 1172 | |
| 1173 | return check_scanned_data(data) |
| 1174 | |
| 1175 | |
| 1176 | def main() -> int: |
no test coverage detected