MCPcopy
hub / github.com/nextdns/nextdns / Model

Function Model

host/model_openbsd.go:8–13  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

6)
7
8func 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 "OpenBSD"
13}

Callers 1

setupClientReportingFunction · 0.92

Calls 1

CommandMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…