Convert string to bool and always return false if any error
(str string)
| 14891 | |
| 14892 | // Convert string to bool and always return false if any error |
| 14893 | func mustParseBool(str string) bool { |
| 14894 | b, err := strconv.ParseBool(str) |
| 14895 | if err != nil { |
| 14896 | return false |
| 14897 | } |
| 14898 | return b |
| 14899 | } |
| 14900 | |
| 14901 | // wantChecksums is a map of expected checksums for an object. |
| 14902 | type wantChecksums map[minio.ChecksumType]string |
no outgoing calls
no test coverage detected