parseEnvFile reads a file with environment variables enumerated by lines “Environment variable names used by the utilities in the Shell and Utilities volume of [IEEE Std 1003.1-2001] consist solely of uppercase letters, digits, and the '_' (underscore) from the characters defined in Portable Charac
(filename string)
| 22 | // [IEEE Std 1003.1-2001]: http://pubs.opengroup.org/onlinepubs/009695399/basedefs/xbd_chap08.html |
| 23 | // [moby-16585]: https://github.com/moby/moby/issues/16585 |
| 24 | func parseEnvFile(filename string) ([]string, error) { |
| 25 | return kvfile.Parse(filename, os.LookupEnv) |
| 26 | } |
no outgoing calls
searching dependent graphs…