(env []string, name string)
| 73 | } |
| 74 | |
| 75 | func hasNonEmptyEnv(env []string, name string) bool { |
| 76 | value, ok := envValue(env, name) |
| 77 | return ok && value != "" |
| 78 | } |
| 79 | |
| 80 | // envValue returns the effective value for name using the last assignment. |
| 81 | func envValue(env []string, name string) (string, bool) { |
no test coverage detected