Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/JordanCoin/codemap
/ indexOf
Function
indexOf
cmd/hooks.go:1545–1552 ·
view source on GitHub ↗
(slice []string, val string)
Source
from the content-addressed store, hash-verified
1543
}
1544
1545
func
indexOf(slice []string, val string) int {
1546
for
i, s :=
range
slice {
1547
if
s == val {
1548
return
i
1549
}
1550
}
1551
return
len(slice)
1552
}
Callers
1
hookSessionStartMultiRepo
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected