MCPcopy Index your code
hub / github.com/Threadfin/Threadfin / indexOfString

Function indexOfString

src/toolchain.go:417–426  ·  view source on GitHub ↗
(element string, data []string)

Source from the content-addressed store, hash-verified

415}
416
417func indexOfString(element string, data []string) int {
418
419 for k, v := range data {
420 if element == v {
421 return k
422 }
423 }
424
425 return -1
426}
427
428func indexOfFloat64(element float64, data []float64) int {
429

Callers 7

createXMLTVFileFunction · 0.70
cleanupXEPGFunction · 0.70
getGuideNumberPMSFunction · 0.70
buildM3UFunction · 0.70
bufferingStreamFunction · 0.70
getBufTmpFilesFunction · 0.70
WSFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected