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

Function stringContains

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

Source from the content-addressed store, hash-verified

696}
697
698func stringContains(s, substr string) bool {
699 for i := 0; i <= len(s)-len(substr); i++ {
700 if s[i:i+len(substr)] == substr {
701 return true
702 }
703 }
704 return false
705}
706
707// Verify that dropbox config can be constructed without panicking
708func TestDropboxConfigConstruction(t *testing.T) {

Calls

no outgoing calls

Tested by

no test coverage detected