(optionText string)
| 329 | } |
| 330 | |
| 331 | func (p *InteractiveMultiselectPrinter) isSelected(optionText string) bool { |
| 332 | for _, selectedOption := range p.selectedOptions { |
| 333 | if p.Options[selectedOption] == optionText { |
| 334 | return true |
| 335 | } |
| 336 | } |
| 337 | |
| 338 | return false |
| 339 | } |
| 340 | |
| 341 | func (p *InteractiveMultiselectPrinter) selectOption(optionText string) { |
| 342 | idx := p.findOptionByText(optionText) |
no outgoing calls
no test coverage detected