(prefix, s string)
| 296 | } |
| 297 | |
| 298 | func isCaseInsensitivePrefix(prefix, s string) bool { |
| 299 | if len(prefix) > len(s) { |
| 300 | return false |
| 301 | } |
| 302 | return strings.EqualFold(prefix, s[:len(prefix)]) |
| 303 | } |
| 304 | |
| 305 | // ParseBool parses and returns the boolean value represented by the provided |
| 306 | // string, or an error if parsing is unsuccessful. |
no outgoing calls
no test coverage detected
searching dependent graphs…