MCPcopy Create free account
hub / github.com/devnullvoid/pvetui / indexOfOption

Function indexOfOption

internal/ui/components/search.go:263–270  ·  view source on GitHub ↗
(options []string, target string)

Source from the content-addressed store, hash-verified

261}
262
263func indexOfOption(options []string, target string) int {
264 for i, option := range options {
265 if strings.EqualFold(option, target) {
266 return i
267 }
268 }
269 return 0
270}
271
272// showAdvancedGuestFilterModal displays structured filters for the Guests page.
273func (a *App) showAdvancedGuestFilterModal() {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected