Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/driangle/taskmd
/ containsSubstring
Function
containsSubstring
sdk/go/parser/markdown_test.go:810–817 ·
view source on GitHub ↗
(s, substr string)
Source
from the content-addressed store, hash-verified
808
}
809
810
func
containsSubstring(s, substr string) bool {
811
for
i := 0; i <= len(s)-len(substr); i++ {
812
if
s[i:i+len(substr)] == substr {
813
return
true
814
}
815
}
816
return
false
817
}
Callers
1
contains
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected