| 85 | |
| 86 | |
| 87 | SmartctlOutputFormat SmartctlVersionParser::get_default_format([[maybe_unused]] SmartctlParserType parser_type) |
| 88 | { |
| 89 | // We no longer differentiate between parser types - they |
| 90 | // all either use Text, or Json. |
| 91 | // switch (parser_type) { |
| 92 | // case SmartctlParserType::Basic: |
| 93 | // return SmartctlOutputFormat::Json; |
| 94 | // case SmartctlParserType::Ata: |
| 95 | // return SmartctlOutputFormat::Json; |
| 96 | // case SmartctlParserType::Nvme: |
| 97 | // return SmartctlOutputFormat::Json; |
| 98 | // } |
| 99 | return s_smartctl_output_default_format; |
| 100 | } |
| 101 | |
| 102 | |
| 103 |
nothing calls this directly
no outgoing calls
no test coverage detected