Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MiniCodeMonkey/chief
/ searchString
Function
searchString
internal/git/push_test.go:150–157 ·
view source on GitHub ↗
(s, substr string)
Source
from the content-addressed store, hash-verified
148
}
149
150
func
searchString(s, substr string) bool {
151
for
i := 0; i <= len(s)-len(substr); i++ {
152
if
s[i:i+len(substr)] == substr {
153
return
true
154
}
155
}
156
return
false
157
}
Callers
1
contains
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected