Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MiniCodeMonkey/chief
/ containsHelper
Function
containsHelper
internal/cmd/edit_test.go:117–124 ·
view source on GitHub ↗
(s, substr string)
Source
from the content-addressed store, hash-verified
115
}
116
117
func
containsHelper(s, substr string) bool {
118
for
i := 0; i <= len(s)-len(substr); i++ {
119
if
s[i:i+len(substr)] == substr {
120
return
true
121
}
122
}
123
return
false
124
}
Callers
1
contains
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected