MCPcopy Create free account
hub / github.com/MiniCodeMonkey/chief / contains

Function contains

internal/git/push_test.go:146–148  ·  view source on GitHub ↗
(s, substr string)

Source from the content-addressed store, hash-verified

144}
145
146func contains(s, substr string) bool {
147 return len(s) >= len(substr) && searchString(s, substr)
148}
149
150func searchString(s, substr string) bool {
151 for i := 0; i <= len(s)-len(substr); i++ {

Callers 1

TestPRBodyFromPRDFunction · 0.70

Calls 1

searchStringFunction · 0.85

Tested by

no test coverage detected