MCPcopy Index your code
hub / github.com/tailscale/tailscale / SetOSVersion

Function SetOSVersion

hostinfo/hostinfo.go:207–207  ·  view source on GitHub ↗

SetOSVersion sets the OS version.

(v string)

Source from the content-addressed store, hash-verified

205
206// SetOSVersion sets the OS version.
207func SetOSVersion(v string) { osVersionAtomic.Store(v) }
208
209// SetFirewallMode sets the firewall mode for the app.
210func SetFirewallMode(v string) { firewallMode.Store(v) }

Callers

nothing calls this directly

Calls 1

StoreMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…