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