ReleaseButler 1.0
😙 package manager on GitHub 😙
Loading...
Searching...
No Matches
env.h File Reference
#include <string>

Go to the source code of this file.

Functions

auto get_env2str (std::string_view name) -> std::string
 Simple encapsulation of std::getenv.
 
auto get_val_from_std () -> std::string
 

Function Documentation

◆ get_env2str()

auto get_env2str ( std::string_view name) -> std::string
nodiscard

Simple encapsulation of std::getenv.

Parameters
`name`Name of the environment variable
Returns
The value of the environment variable

◆ get_val_from_std()

auto get_val_from_std ( ) -> std::string
nodiscard