(status bool)
| 644 | } |
| 645 | |
| 646 | func boolToStatus(status bool) *string { |
| 647 | var result string |
| 648 | if status { |
| 649 | result = "enabled" |
| 650 | } else { |
| 651 | result = "disabled" |
| 652 | } |
| 653 | return &result |
| 654 | } |
| 655 | |
| 656 | func hasSecurityEdits(edits EditRepositoryInput) bool { |
| 657 | return edits.enableAdvancedSecurity != nil || edits.enableSecretScanning != nil || edits.enableSecretScanningPushProtection != nil |
no outgoing calls
no test coverage detected