MCPcopy Index your code
hub / github.com/jetify-com/devbox / System

Method System

nix/nix.go:118–121  ·  view source on GitHub ↗

System returns the system from [Nix.Info] or an empty string if there was an error.

()

Source from the content-addressed store, hash-verified

116// System returns the system from [Nix.Info] or an empty string if there was an
117// error.
118func (n *Nix) System() string {
119 info, _ := n.Info()
120 return info.System
121}
122
123// Version returns the version from [Nix.Info] or an empty string if there was
124// an error.

Callers 1

SystemFunction · 0.80

Calls 1

InfoMethod · 0.95

Tested by

no test coverage detected