(vals ...string)
| 303 | } |
| 304 | |
| 305 | func firstNonEmpty(vals ...string) string { |
| 306 | for _, v := range vals { |
| 307 | if s := strings.TrimSpace(v); s != "" { |
| 308 | return s |
| 309 | } |
| 310 | } |
| 311 | return "" |
| 312 | } |
| 313 | |
| 314 | // parseGraphViewArgs supports flat JSON, the {"cmd","args"} envelope and a |
| 315 | // minimal --flag argv form. |
no outgoing calls
no test coverage detected