Always errors out on non-Linux platforms.
()
| 45 | |
| 46 | // Always errors out on non-Linux platforms. |
| 47 | func XDGRuntimeDir() (string, error) { |
| 48 | return "", fmt.Errorf("can only query XDG env vars on Linux") |
| 49 | } |
| 50 | |
| 51 | // Always returns -1 on non-Linux platforms. |
| 52 | func ParentEUID() int { |
no outgoing calls
no test coverage detected
searching dependent graphs…