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