()
| 6 | ) |
| 7 | |
| 8 | func Model() string { |
| 9 | if b, err := exec.Command("sysctl", "-n", "kern.version").Output(); err == nil && len(b) > 0 { |
| 10 | return string(bytes.TrimSpace(b)) |
| 11 | } |
| 12 | return "DragonFly BSD" |
| 13 | } |
nothing calls this directly
no test coverage detected
searching dependent graphs…