(status bool)
| 637 | } |
| 638 | |
| 639 | func boolToStatus(status bool) *string { |
| 640 | var result string |
| 641 | if status { |
| 642 | result = "enabled" |
| 643 | } else { |
| 644 | result = "disabled" |
| 645 | } |
| 646 | return &result |
| 647 | } |
| 648 | |
| 649 | func hasSecurityEdits(edits EditRepositoryInput) bool { |
| 650 | return edits.enableAdvancedSecurity != nil || edits.enableSecretScanning != nil || edits.enableSecretScanningPushProtection != nil |
no outgoing calls
no test coverage detected