|
FlatImage
A configurable Linux containerization system
|
Functions | |
| std::unordered_map< std::string, std::string > | map (std::vector< std::string > const &entries) |
| Given a string with an environment variable entry, splits the variable into key and value. | |
| Value< void > | validate (std::vector< std::string > const &entries) |
| Validates environment variable entries. | |
|
inlinenodiscard |
Given a string with an environment variable entry, splits the variable into key and value.
| entries | The environment variables, each entry has the format 'key=var' |
Definition at line 43 of file env.hpp.
|
inlinenodiscard |
Validates environment variable entries.
The validation makes sure they are in the 'key=val' format
| entries | The entries to validate |
Definition at line 63 of file env.hpp.