parseOutputSpec parses an output specification string into format name and file path Format: "format" or "format=file"
(outputSpec string)
| 1321 | // parseOutputSpec parses an output specification string into format name and file path |
| 1322 | // Format: "format" or "format=file" |
| 1323 | func parseOutputSpec(outputSpec string) (formatName, file string) { |
| 1324 | parts := strings.SplitN(outputSpec, "=", 2) |
| 1325 | formatName = parts[0] |
| 1326 | if len(parts) > 1 { |
| 1327 | file = parts[1] |
| 1328 | } |
| 1329 | return formatName, file |
| 1330 | } |
| 1331 | |
| 1332 | // writeVSAReport writes a combined VSAReport to all specified output formats |
| 1333 | // display is used for text format to avoid reconstructing ComponentResultsDisplay |
no outgoing calls
no test coverage detected