System returns the system from [Nix.Info] or an empty string if there was an error.
()
| 116 | // System returns the system from [Nix.Info] or an empty string if there was an |
| 117 | // error. |
| 118 | func (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. |