MCPcopy Create free account
hub / github.com/dropbox/dbxcli / contains

Function contains

cmd/ls_test.go:694–696  ·  view source on GitHub ↗
(s, substr string)

Source from the content-addressed store, hash-verified

692}
693
694func contains(s, substr string) bool {
695 return len(s) >= len(substr) && (s == substr || len(s) > 0 && stringContains(s, substr))
696}
697
698func stringContains(s, substr string) bool {
699 for i := 0; i <= len(s)-len(substr); i++ {

Calls 1

stringContainsFunction · 0.85

Tested by

no test coverage detected