Convert string to bool and always return false if any error
(str string)
| 14995 | |
| 14996 | // Convert string to bool and always return false if any error |
| 14997 | func mustParseBool(str string) bool { |
| 14998 | b, err := strconv.ParseBool(str) |
| 14999 | if err != nil { |
| 15000 | return false |
| 15001 | } |
| 15002 | return b |
| 15003 | } |
| 15004 | |
| 15005 | // wantChecksums is a map of expected checksums for an object. |
| 15006 | type wantChecksums map[minio.ChecksumType]string |
no outgoing calls
no test coverage detected